commit | 3a77df1180acf1cbe2276a0cbe91e5d07fbf3c47 | [log] [tgz] |
---|---|---|
author | Oleg Drokin <green@linuxhacker.ru> | Sat Aug 20 17:34:25 2016 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Aug 21 16:03:38 2016 +0200 |
tree | 6fe98aed23ca479e2b8358e2e19d21f1b302fa2b | |
parent | 4cae780e54db3a8d75752bda812547db9f1c1c45 [diff] |
staging/lustre: Always return EEXIST on mkdir for existing names if the name already exists, but we don't have write permissions in the parent, force talking to the MDS to determine what more sensical error code to return. This also happens to fix matlab and other such programs that assume that EEXIST is the only valid error code for mkdir of an existing directory. Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>