J. Bruce Fields d03d9fe476 nfsd: remove unnecessary positive-dentry check
vfs_{create,mkdir,mknod} each begin with a call to may_create(), which
returns EEXIST if the object already exists.

This check is therefore unnecessary.

(In the NFSv2 case, nfsd_proc_create also has such a check.  Contrary to
RFC 1094, our code seems to believe that a CREATE of an existing file
should succeed.  I'm leaving that behavior alone.)

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2016-08-04 17:11:50 -04:00
..
2014-07-08 17:14:27 -04:00
2016-03-18 11:42:53 -04:00
2014-08-17 12:00:12 -04:00
2016-01-22 18:04:28 -05:00
2016-08-04 17:11:49 -04:00
2016-07-13 15:53:41 -04:00
2016-01-14 17:32:51 -05:00
2016-08-04 17:11:49 -04:00
2015-02-02 18:09:43 +01:00