diff options
| author | NeilBrown <neilb@ownmail.net> | 2025-09-15 12:55:13 +1000 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2025-11-16 18:20:11 -0500 |
| commit | 89bd77cf436bf25e448817a662ebf76515f22863 (patch) | |
| tree | 6fe02427ab2d8da10eee5e3c22488ea26d1029ac /tools/lib/python/kdoc/python_version.py | |
| parent | bf94dea7fd4e6708d1a784be23db65eff84d82f1 (diff) | |
nfsd: move name lookup out of nfsd4_list_rec_dir()
nfsd4_list_rec_dir() is called with two different callbacks.
One of the callbacks uses vfs_rmdir() to remove the directory.
The other doesn't use the dentry at all, just the name.
As only one callback needs the dentry, this patch moves the lookup into
that callback. This prepares of changes to how directory operations
are locked.
Signed-off-by: NeilBrown <neil@brown.name>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
