]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ext3: fix nobh mode for chattr +j inodes
authorBadari Pulavarty <pbadari@us.ibm.com>
Sat, 11 Mar 2006 11:27:14 +0000 (03:27 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 11 Mar 2006 17:19:34 +0000 (09:19 -0800)
commitcd6ef84e6ac9454080707f2f338360f5d7e556fc
tree98770b47dd7ae2e1faad4796eb03b2d4760e1b03
parent0adb25d2e71ab047423d6fc63d5d184590d0a66f
[PATCH] ext3: fix nobh mode for chattr +j inodes

One can do "chattr +j" on a file to change its journalling mode.  Fix
writeback mode with "nobh" handling for it.

Even though, we mount ext3 filesystem in writeback mode with "nobh" option,
some one can do "chattr +j" on a single file to force it to do journalled
mode.  In order to do journaling, ext3_block_truncate_page() need to
fallback to default case of creating buffers and adding them to transaction
etc.

Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext3/inode.c