Home
last modified time | relevance | path

Searched hist:e6bc45d6 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/
H A Dnamei.ce6bc45d6 Mon Jun 06 18:19:40 CDT 2011 Theodore Ts'o <tytso@mit.edu> 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>
e6bc45d6 Mon Jun 06 18:19:40 CDT 2011 Theodore Ts'o <tytso@mit.edu> 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>