]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs: use xarray for old mount id
authorChristian Brauner <brauner@kernel.org>
Tue, 17 Dec 2024 12:21:55 +0000 (13:21 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 9 Jan 2025 15:58:55 +0000 (16:58 +0100)
commit7f9bfafc5f496cf2222659890477d0408455369e
treea9a7073b0b0953fb9c623bfa316fb9dcad4e25ef
parent87fc11ae7ae9da7250d56aaad305dcb5bca7cfeb
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>
fs/namespace.c