summaryrefslogtreecommitdiffstats
path: root/scripts/gfp-translate
diff options
context:
space:
mode:
authorYounger Liu2014-02-10 23:25:44 +0100
committerLinus Torvalds2014-02-11 01:01:42 +0100
commita987c7ca7fc9225a587b1dc59d7d4ad2d9e2e08e (patch)
tree8624277e806b28f2396fe6157b026f00a2089285 /scripts/gfp-translate
parentdrivers/edac/edac_mc_sysfs.c: poll timeout cannot be zero (diff)
downloadkernel-qcow2-linux-a987c7ca7fc9225a587b1dc59d7d4ad2d9e2e08e.tar.gz
kernel-qcow2-linux-a987c7ca7fc9225a587b1dc59d7d4ad2d9e2e08e.tar.xz
kernel-qcow2-linux-a987c7ca7fc9225a587b1dc59d7d4ad2d9e2e08e.zip
ocfs2: fix ocfs2_sync_file() if filesystem is readonly
If filesystem is readonly, there is no need to flush drive's caches or force any uncommitted transactions. [akpm@linux-foundation.org: return -EROFS, not 0] Signed-off-by: Younger Liu <younger.liucn@gmail.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Mark Fasheh <mfasheh@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/gfp-translate')
0 files changed, 0 insertions, 0 deletions