summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorTheodore Ts'o2011-06-07 01:19:40 +0200
committerAl Viro2011-06-07 14:51:14 +0200
commite6bc45d65df8599fdbae73be9cec4ceed274db53 (patch)
tree2a9a5a0c0835b431d605332ebbfa6dad66e069f0 /README
parentlmLogOpen() broken failure exit (diff)
downloadkernel-qcow2-linux-e6bc45d65df8599fdbae73be9cec4ceed274db53.tar.gz
kernel-qcow2-linux-e6bc45d65df8599fdbae73be9cec4ceed274db53.tar.xz
kernel-qcow2-linux-e6bc45d65df8599fdbae73be9cec4ceed274db53.zip
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 <mjt@tls.msk.ru> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions