diff options
| author | Li RongQing <[email protected]> | 2025-07-31 08:10:38 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2025-08-03 19:45:47 +0000 |
| commit | 533210f23936a482010016ac3f57995046c58565 (patch) | |
| tree | 6b4e44411c18df0874119993faa7dc1cc7d45439 /drivers/fpga/microchip-spi.c | |
| parent | NFS: Fixup allocation flags for nfsiod's __GFP_NORETRY (diff) | |
| download | kernel-533210f23936a482010016ac3f57995046c58565.tar.gz kernel-533210f23936a482010016ac3f57995046c58565.zip | |
nfs/localio: use read_seqbegin() rather than read_seqbegin_or_lock()
The usage of read_seqbegin_or_lock() in nfs_copy_boot_verifier()
is wrong. "seq" is always even and thus "or_lock" has no effect.
nfs_copy_boot_verifier() just copies 8 bytes and is supposed to be
very rare operation, so we do not need the adaptive locking in this case.
Signed-off-by: Li RongQing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
