Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2a735ad authored by Jan Kara's avatar Jan Kara
Browse files

ext2: Update comment about generic_osync_inode



We rely on generic_write_sync() now.

CC: linux-ext4@vger.kernel.org
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 148f948b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -482,7 +482,7 @@ static int ext2_alloc_branch(struct inode *inode,
		unlock_buffer(bh);
		unlock_buffer(bh);
		mark_buffer_dirty_inode(bh, inode);
		mark_buffer_dirty_inode(bh, inode);
		/* We used to sync bh here if IS_SYNC(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.
		 * and b_inode_buffers.  But not for directories.
		 */
		 */
		if (S_ISDIR(inode->i_mode) && IS_DIRSYNC(inode))
		if (S_ISDIR(inode->i_mode) && IS_DIRSYNC(inode))