aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorYounger Liu <[email protected]>2014-02-10 14:25:44 -0800
committerLinus Torvalds <[email protected]>2014-02-10 16:01:42 -0800
commita987c7ca7fc9225a587b1dc59d7d4ad2d9e2e08e (patch)
tree8624277e806b28f2396fe6157b026f00a2089285 /tools/perf/util/trace-event-scripting.c
parent79040cad3f8235937e229f1b9401ba36dd5ad69b (diff)
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. [[email protected]: return -EROFS, not 0] Signed-off-by: Younger Liu <[email protected]> Cc: Joel Becker <[email protected]> Cc: Mark Fasheh <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions