Patchwork ext4: fix some wrong comments

login
register
mail settings
Submitter ZhangZhen
Date Feb. 28, 2014, 7:27 a.m.
Message ID <53103A78.3050402@huawei.com>
Download mbox | patch
Permalink /patch/325053/
State Accepted
Headers show

Comments

ZhangZhen - Feb. 28, 2014, 7:27 a.m.
The comments in the code are wrong, because every generic_file_write()
is replaced by generic_file_aio_write().

Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com>
---
 fs/ext4/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 6e39895..c218294 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -4399,7 +4399,7 @@  out_brelse:
  *
  * We are called from a few places:
  *
- * - Within generic_file_write() for O_SYNC files.
+ * - Within generic_file_aio_write() for O_SYNC files.
  *   Here, there will be no transaction running. We wait for any running
  *   transaction to commit.
  *