[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110607000527.GP11521@ZenIV.linux.org.uk>
Date: Tue, 7 Jun 2011 01:05:27 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Theodore Ts'o <tytso@....edu>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
mjt@....msk.ru
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@....msk.ru>
> Signed-off-by: "Theodore Ts'o" <tytso@....edu>
Applied. In for-next for now, will go into for-linus once Linus picks
the last pull request...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists