# \[PATCH 08/17\] ext2: Update comment about generic\_osync\_inode

- From: Jan Kara \<jack@suse.cz\>
- Date: 2009-08-21 16:59:52 
- List: linux-ext4
- Page: https://ratatoskr.run/linux-ext4/2009/08/34486
- Thread: https://ratatoskr.run/linux-fsdevel/2009/08/34488/t.md

```text
We rely on generic_write_sync() now.

CC: <redacted>
Signed-off-by: Jan Kara <jack@suse.cz>
---
 fs/ext2/inode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c
index e271303..1c1638f 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))
-- 
1.6.0.2

```
