Displaying 1 result from an estimated 1 matches for "dirty_and_release_pa".
2009 Feb 02
5
[PATCH] btrfs: call mark_inode_dirty when i_size is updated
...i.hisashi@oss.ntt.co.jp>
diff -Nrup linux-2.6.29-rc3.org/fs/btrfs/file.c linux-2.6.29-rc3/fs/btrfs/file.c
--- linux-2.6.29-rc3.org/fs/btrfs/file.c 2009-02-02 16:53:18.000000000 +0900
+++ linux-2.6.29-rc3/fs/btrfs/file.c 2009-02-02 18:21:00.000000000 +0900
@@ -152,7 +152,7 @@ static noinline int dirty_and_release_pa
}
if (end_pos > isize) {
i_size_write(inode, end_pos);
- btrfs_update_inode(trans, root, inode);
+ mark_inode_dirty(inode);
}
err = btrfs_end_transaction(trans, root);
out_unlock:
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a...