mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
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>
This commit is contained in:
parent
148f948ba8
commit
a2a735ad66
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue