]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mm: Convert truncate to XArray
authorMatthew Wilcox <willy@infradead.org>
Sun, 26 Nov 2017 03:52:46 +0000 (22:52 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:37 +0000 (10:46 -0400)
commit69b6c1319b6588b65d853055d5336f662f6cb1a2
tree54eed2336da530d75256978f8823cae8baccc909
parenta97e7904c0806309fd77103005bb7820c3f1c5e4
mm: Convert truncate to XArray

This is essentially xa_cmpxchg() with the locking handled above us,
and it doesn't have to handle replacing a NULL entry.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
mm/truncate.c