Skip to content

Commit a2a735a

Browse files
committed
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>
1 parent 148f948 commit a2a735a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/ext2/inode.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ static int ext2_alloc_branch(struct inode *inode,
482482
unlock_buffer(bh);
483483
mark_buffer_dirty_inode(bh, inode);
484484
/* We used to sync bh here if IS_SYNC(inode).
485-
* But we now rely upon generic_osync_inode()
485+
* But we now rely upon generic_write_sync()
486486
* and b_inode_buffers. But not for directories.
487487
*/
488488
if (S_ISDIR(inode->i_mode) && IS_DIRSYNC(inode))

0 commit comments

Comments
 (0)