aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJeff Liu <[email protected]>2012-02-09 14:42:22 +0800
committerJoel Becker <[email protected]>2012-07-03 23:27:16 -0700
commit65622e647bfff3ed89f95576ec120693ed4085a6 (patch)
treea9a2472e34a73ffc4d6b3f9adebd42ff8c329153 /tools/perf/util/scripting-engines/trace-event-python.c
parenta75e9ccabd925d16954739bd977c54695c9310d0 (diff)
ocfs2: for SEEK_DATA/SEEK_HOLE, return internal error unchanged if ocfs2_get_clusters_nocache() or ocfs2_inode_lock() call failed.
Hello, Since ENXIO only means "offset beyond EOF" for SEEK_DATA/SEEK_HOLE, Hence we should return the internal error unchanged if ocfs2_inode_lock() or ocfs2_get_clusters_nocache() call failed rather than ENXIO. Otherwise, it will confuse the user applications when they trying to understand the root cause. Thanks Dave for pointing this out. Thanks, -Jeff Cc: Dave Chinner <[email protected]> Signed-off-by: Jie Liu <[email protected]> Signed-off-by: Joel Becker <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions