commit | b44061d0b914c11fb8f8a747c91d111973f56d76 | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Wed Jul 20 16:16:06 2016 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Thu Aug 04 17:11:49 2016 -0400 |
tree | cc94f0ce9201a9d70c5330ce55d4ec30421dfb67 | |
parent | e75b23f9e323b1e0759619c39d5a9f7a3a5d9d2c [diff] |
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>