diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-05-15 04:49:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-06 10:10:56 -0700 |
commit | 6fcbb3d556084dad886a6e910e90435fefda49bd (patch) | |
tree | 5d05f466b9825f591fb790886e0a764b7dcfd8e8 /drivers | |
parent | b6eb09b2fcf2b5d928f582ae866ab073820518e6 (diff) |
return to old errno choice in mkdir() et.al.
commit e9baf6e59842285bcf9570f5094e4c27674a0f7c upstream
In case when both EEXIST and EROFS would apply we used to
return the former in mkdir(2) and friends. Lest anyone suspects
us of being consistent, in the same situation knfsd gave clients
nfs_erofs...
ro-bind series had switched the syscall side of things to
returning -EROFS and immediately broke an application - namely,
mkdir -p. Patch restores the original behaviour...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Jan Blunck <jblunck@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions