Skip to content
Commit b44061d0 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

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: default avatarJ. Bruce Fields <bfields@redhat.com>
parent e75b23f9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment