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@xxxxxxxxxx> --- fs/ext4/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. * -- 1.8.1.4 . _______________________________________________ kernel.openeuler mailing list kernel.openeuler@xxxxxxxxxx http://rnd-openeuler.huawei.com/mailman/listinfo/kernel.openeuler -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html