commit | e9baf6e59842285bcf9570f5094e4c27674a0f7c | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu May 15 04:49:12 2008 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri May 16 17:23:18 2008 -0400 |
tree | 12d5e9d762868bcc7aa97851240486d31314439b | |
parent | 23c4971e3d97de4e1b7961ca6eacee35aa15ce5f [diff] |
[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: Al Viro <viro@zeniv.linux.org.uk>