summaryrefslogtreecommitdiff
path: root/drivers/phy/axiado/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-07-15 16:50:55 +0200
committerCarlos Maiolino <cem@kernel.org>2026-08-10 08:34:43 +0200
commit568c8798a3d0afabc133d7b34d37155daa95d1f2 (patch)
tree4016709779dc041885812b87e029b2c85d309ec6 /drivers/phy/axiado/git@git.tavy.me:linux.git
parent45fd506c334ceb79ea3b40986b2c5ebb7802b385 (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 'drivers/phy/axiado/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions