aboutsummaryrefslogtreecommitdiffstats
path: root/fs/splice.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2016-07-21 21:55:42 -0400
committerJ. Bruce Fields <bfields@redhat.com>2016-08-04 17:11:50 -0400
commitd03d9fe476ea81ad3be25967ef35a671dbd79b55 (patch)
tree11d1977fcd31ad60069a367e3b31f13f2570588d /fs/splice.c
parentnfsd: reorganize nfsd_create (diff)
downloadlinux-dev-d03d9fe476ea81ad3be25967ef35a671dbd79b55.tar.xz
linux-dev-d03d9fe476ea81ad3be25967ef35a671dbd79b55.zip
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>
Diffstat (limited to 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions