Searched hist:b44061d0b914c11fb8f8a747c91d111973f56d76 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/nfsd/ |
H A D | vfs.h | diff b44061d0b914c11fb8f8a747c91d111973f56d76 Wed Jul 20 15:16:06 CDT 2016 J. Bruce Fields <bfields@redhat.com> 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>
|
H A D | nfsproc.c | diff b44061d0b914c11fb8f8a747c91d111973f56d76 Wed Jul 20 15:16:06 CDT 2016 J. Bruce Fields <bfields@redhat.com> 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>
|
H A D | vfs.c | diff b44061d0b914c11fb8f8a747c91d111973f56d76 Wed Jul 20 15:16:06 CDT 2016 J. Bruce Fields <bfields@redhat.com> 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>
|