mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
fs: use xarray for old mount id
While the ida does use the xarray internally we can use it explicitly which allows us to increment the unique mount id under the xa lock. This allows us to remove the atomic as we're now allocating both ids in one go. Link: https://lore.kernel.org/r/20241217-erhielten-regung-44bb1604ca8f@brauner Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
87fc11ae7a
commit
7f9bfafc5f
1 changed files with 10 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue