diff options
| author | 2026-07-15 16:50:55 +0200 | |
|---|---|---|
| committer | 2026-08-10 08:34:43 +0200 | |
| commit | 568c8798a3d0afabc133d7b34d37155daa95d1f2 (patch) | |
| tree | 4016709779dc041885812b87e029b2c85d309ec6 /scripts/Makefile.thinlto | |
| parent | xfs: don't get a pag reference in xfs_buf_get_map (diff) | |
xfs: consolidate buffer locking in xfs_buf_get_map
Consolidate the code to lock the buffer based on the passed in flags
into xfs_buf_get_map instead of having two different sites for buffer
lookup vs insertation. This requires initializing b_lock to unlocked on
allocation and doing an atomic for locking it for newly allocated buffers,
but greatly simplifies the logic.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
