From: Jan Kara Date: Tue, 4 Jun 2013 18:40:09 +0000 (-0400) Subject: ext4: use generic_file_fsync() in ext4_file_fsync() in nojournal mode X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~83^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37b10dd06334ebc89f551d405a0fe27e1a622458;p=pandora-kernel.git 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 Signed-off-by: Jan Kara Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed