ext2: Update comment about generic_osync_inode
authorJan Kara <jack@suse.cz>
Tue, 18 Aug 2009 15:54:11 +0000 (17:54 +0200)
committerJan Kara <jack@suse.cz>
Mon, 14 Sep 2009 15:08:16 +0000 (17:08 +0200)
We rely on generic_write_sync() now.

CC: linux-ext4@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/inode.c

index e27130341d4f9cba4cb476186dc6c6e83b31b4fe..1c1638f873a4ac6d0d1e92179c76721ac2c55c4a 100644 (file)
@@ -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))