diff options
author | NeilBrown <neil@brown.name> | 2025-06-09 09:35:07 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-07-20 19:17:13 -0500 |
commit | 09f124b2871b3cf1e04fcdd3aff7932ecc8c125c (patch) | |
tree | f407325a2e3fa2e24350c754da02e099707d4efe /scripts/lib/kdoc/kdoc_output.py | |
parent | 89be9a83ccf1f88522317ce02f854f30d6115c41 (diff) |
smb/server: use lookup_one_unlocked()
In process_query_dir_entries(), instead of locking the directory,
performing a lookup, then unlocking, we can simply call
lookup_one_unlocked(). That takes locks the directory only when needed.
This removes the only users of lock_dir() and unlock_dir() so they can
be removed.
Signed-off-by: NeilBrown <neil@brown.name>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions