aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTheodore Ts'o <[email protected]>2011-06-06 19:19:40 -0400
committerAl Viro <[email protected]>2011-06-07 08:51:14 -0400
commite6bc45d65df8599fdbae73be9cec4ceed274db53 (patch)
tree2a9a5a0c0835b431d605332ebbfa6dad66e069f0 /tools/perf/util/scripting-engines/trace-event-python.c
parent9054760ff585a7fa436599990b63a585ae89ff4d (diff)
vfs: make unlink() and rmdir() return ENOENT in preference to EROFS
If user space attempts to remove a non-existent file or directory, and the file system is mounted read-only, return ENOENT instead of EROFS. Either error code is arguably valid/correct, but ENOENT is a more specific error message. Reported-by: Michael Tokarev <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions