Skip to content
Commit e9baf6e5 authored by Al Viro's avatar Al Viro
Browse files

[PATCH] return to old errno choice in mkdir() et.al.



	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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 23c4971e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment