diff options
| author | NeilBrown <[email protected]> | 2025-06-08 23:35:07 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-07-21 00:17:13 +0000 |
| commit | 09f124b2871b3cf1e04fcdd3aff7932ecc8c125c (patch) | |
| tree | f407325a2e3fa2e24350c754da02e099707d4efe /drivers/fpga/microchip-spi.c | |
| parent | Linux 6.16-rc7 (diff) | |
| download | kernel-09f124b2871b3cf1e04fcdd3aff7932ecc8c125c.tar.gz kernel-09f124b2871b3cf1e04fcdd3aff7932ecc8c125c.zip | |
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 <[email protected]>
Acked-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
