aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext2
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-08-18 17:54:11 +0200
committerJan Kara <jack@suse.cz>2009-09-14 17:08:16 +0200
commita2a735ad666a04306a708b5a0109cc1fe113f569 (patch)
tree1b880e0e8eb9e9b019d3e6443751cd56e5fe3d58 /fs/ext2
parentvfs: Introduce new helpers for syncing after writing to O_SYNC file or IS_SYNC inode (diff)
downloadlinux-dev-a2a735ad666a04306a708b5a0109cc1fe113f569.tar.xz
linux-dev-a2a735ad666a04306a708b5a0109cc1fe113f569.zip
ext2: Update comment about generic_osync_inode
We rely on generic_write_sync() now. CC: linux-ext4@vger.kernel.org Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2')
-rw-r--r--fs/ext2/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c
index e27130341d4f..1c1638f873a4 100644
--- a/fs/ext2/inode.c
+++ b/fs/ext2/inode.c
@@ -482,7 +482,7 @@ static int ext2_alloc_branch(struct inode *inode,
unlock_buffer(bh);
mark_buffer_dirty_inode(bh, inode);
/* We used to sync bh here if IS_SYNC(inode).
- * But we now rely upon generic_osync_inode()
+ * But we now rely upon generic_write_sync()
* and b_inode_buffers. But not for directories.
*/
if (S_ISDIR(inode->i_mode) && IS_DIRSYNC(inode))