summaryrefslogtreecommitdiffstats
path: root/net/netlink/diag.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2016-07-20 22:16:06 +0200
committerJ. Bruce Fields <bfields@redhat.com>2016-08-04 23:11:49 +0200
commitb44061d0b914c11fb8f8a747c91d111973f56d76 (patch)
treecc94f0ce9201a9d70c5330ce55d4ec30421dfb67 /net/netlink/diag.c
parentnfsd: check d_can_lookup in fh_verify of directories (diff)
downloadlinux-b44061d0b914c11fb8f8a747c91d111973f56d76.tar.xz
linux-b44061d0b914c11fb8f8a747c91d111973f56d76.zip
nfsd: reorganize nfsd_create
There's some odd logic in nfsd_create() that allows it to be called with the parent directory either locked or unlocked. The only already-locked caller is NFSv2's nfsd_proc_create(). It's less confusing to split out the unlocked case into a separate function which the NFSv2 code can call directly. Also fix some comments while we're here. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/netlink/diag.c')
0 files changed, 0 insertions, 0 deletions