summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/xattr_user.c
diff options
context:
space:
mode:
authorNick Piggin <nickpiggin@yahoo.com.au>2007-10-19 17:16:53 +1000
committerDavid Woodhouse <dwmw2@infradead.org>2007-10-22 10:24:44 +0100
commit2a754b51aacb122cec25c849e3cf7f5503cc3ec6 (patch)
tree679a7b65a8a031904d2098d4133de07045ee0ca6 /fs/jffs2/xattr_user.c
parentc21f900cb8817009930e672d22a5b91e5b706351 (diff)
downloadtalos-obmc-linux-2a754b51aacb122cec25c849e3cf7f5503cc3ec6.tar.gz
talos-obmc-linux-2a754b51aacb122cec25c849e3cf7f5503cc3ec6.zip
[JFFS2] Fix return value from jffs2_write_end()
jffs2_write_end() is sometimes passing back a "written" length greater than the length we passed into it, leading to a BUG at mm/filemap.c:1749 when used with unionfs. It happens because we actually write more than was requested, to reduce log fragmentation. These "longer" writes are fine, but they shouldn't get propagated back to the vm/vfs. Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/xattr_user.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud