diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2025-08-27 13:37:12 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-09-17 15:58:29 -0400 |
commit | 3371fa2f27134fc4ec7d40b2ae7b9e92c3b2527e (patch) | |
tree | aaff2601103778dd89a12d4c7f8e843f01d186ab /rust/helpers/pci.c | |
parent | 09a1b33c080f6ac700fadc67c8471e67bf75fda4 (diff) |
struct mount: relocate MNT_WRITE_HOLD bit
... from ->mnt_flags to LSB of ->mnt_pprev_for_sb.
This is safe - we always set and clear it within the same mount_lock
scope, so we won't interfere with list operations - traversals are
always forward, so they don't even look at ->mnt_prev_for_sb and
both insertions and removals are in mount_lock scopes of their own,
so that bit will be clear in *all* mount instances during those.
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions