summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/wbuf.c
diff options
context:
space:
mode:
authorDimitri Gorokhovik <dimitri.gorokhovik@free.fr>2009-09-03 15:04:22 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-09-03 15:59:16 +0200
commit16f05c2b68520f94e365f9d347a7076f4ff00ad5 (patch)
treeca06a5950392f6619c92fdb3431729a40096744e /fs/jffs2/wbuf.c
parentmtd: nftl: write support is broken (diff)
downloadlinux-16f05c2b68520f94e365f9d347a7076f4ff00ad5.tar.xz
linux-16f05c2b68520f94e365f9d347a7076f4ff00ad5.zip
mtd: nftl: fix offset alignments
Arithmetic conversion in the mask computation makes the upper word of the second argument passed down to mtd->read_oob(), be always 0 (assuming 'offs' being a 64-bit signed long long type, and 'mtd->writesize' being a 32-bit unsigned int type). This patch applies over the other one adding masking in nftl_write, "nftl: write support is broken". Signed-off-by: Dimitri Gorokhovik <dimitri.gorokhovik@free.fr> Cc: Tim Gardner <tim.gardner@canonical.com> Cc: Scott James Remnant <scott@canonical.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jffs2/wbuf.c')
0 files changed, 0 insertions, 0 deletions