aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2025-06-08 23:35:07 +0000
committerSteve French <[email protected]>2025-07-21 00:17:13 +0000
commit09f124b2871b3cf1e04fcdd3aff7932ecc8c125c (patch)
treef407325a2e3fa2e24350c754da02e099707d4efe /drivers/fpga/microchip-spi.c
parentLinux 6.16-rc7 (diff)
downloadkernel-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