Messages in this thread | | | Date | Tue, 7 Jun 2011 01:05:27 +0100 | From | Al Viro <> | Subject | Re: [PATCH -v3] vfs: make unlink() and rmdir() return ENOENT in preference to EROFS |
| |
On Mon, Jun 06, 2011 at 07:19:40PM -0400, Theodore Ts'o wrote: > 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>
Applied. In for-next for now, will go into for-linus once Linus picks the last pull request...
| |