The patch titled reiserfs-do-not-add-save-links-for-o_direct-writes fix has been added to the -mm tree. Its filename is reiserfs-do-not-add-save-links-for-o_direct-writes-fix.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: reiserfs-do-not-add-save-links-for-o_direct-writes fix From: Vladimir Saveliev <vs@xxxxxxxxxxx> To write far past the end of a file reiserfs appends a hole first. While the hole grows file size in ondisk inode has to be updated so that in case of unclean shutdown it matches real file size. Signed-off-by: Vladimir Saveliev <vs@xxxxxxxxxxx> Cc: Amit Arora <amitarora@xxxxxxxxxx> Cc: Suzuki K P <suzuki@xxxxxxxxxx> Cc: Jeff Mahoney <jeffm@xxxxxxxx> Cc: Chris Mason <mason@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/reiserfs/file.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN fs/reiserfs/file.c~reiserfs-do-not-add-save-links-for-o_direct-writes-fix fs/reiserfs/file.c --- a/fs/reiserfs/file.c~reiserfs-do-not-add-save-links-for-o_direct-writes-fix +++ a/fs/reiserfs/file.c @@ -406,6 +406,8 @@ static int reiserfs_allocate_blocks_for_ we restart it. This will also free the path. */ if (journal_transaction_should_end (th, th->t_blocks_allocated)) { + inode->i_size = cpu_key_k_offset(&key) + + (to_paste << inode->i_blkbits); res = restart_transaction(th, inode, &path); _ Patches currently in -mm which might be from vs@xxxxxxxxxxx are patch-to-fix-reiserfs-bad-path-release-panic-on-2619-rc1.patch reiserfs-do-not-add-save-links-for-o_direct-writes.patch reiserfs-do-not-add-save-links-for-o_direct-writes-fix.patch reiser4.patch reiser4-hardirq-include-fix.patch reiser4-fix-trivial-tyops-which-were-hard-to-hit.patch reiser4-run-truncate_inode_pages-in-reiser4_delete_inode.patch reiser4-bug-fixes.patch reiser4-fix-gcc-ws-compains.patch fs-reiser4-possible-cleanups.patch reiser4-get_sb_dev-fix.patch reiser4-vs-zoned-allocator.patch reiser4-vs-streamline-generic_file_-interfaces-and-filemap.patch reiser4-rename-generic_sounding_globalspatch.patch reiser4-possible-cleanups-2.patch reiser4-temp-fix.patch fs-reiser4-more-possible-cleanups.patch reiser4-use-null-for-pointers.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html