diff options
author | Jan Kara <jack@suse.cz> | 2013-06-04 22:40:09 +0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-06-04 22:40:09 +0400 |
commit | 37b10dd06334ebc89f551d405a0fe27e1a622458 (patch) | |
tree | 5cb73525b64d694f753436719add5c71c0a39828 /fs/sync.c | |
parent | a115f749c14ee94e8b7bdbd203a5afdb1659156b (diff) | |
download | linux-37b10dd06334ebc89f551d405a0fe27e1a622458.tar.xz |
ext4: use generic_file_fsync() in ext4_file_fsync() in nojournal mode
Just use the generic function instead of duplicating it. We only need
to reshuffle the read-only check a bit (which is there to prevent
writing to a filesystem which has been remounted read-only after error
I assume).
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions