diff options
author | Jan Kara <jack@suse.cz> | 2023-06-20 13:28:32 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-06-20 13:48:01 +0200 |
commit | d7439fb1f4338fffd0bc68bb62d78f7712725f26 (patch) | |
tree | cfee9d8b47dbf428a1658be8be50b341305e08a7 /drivers/iommu/amd/init.c | |
parent | fs: Protect reconfiguration of sb read-write from racing writes (diff) | |
download | linux-d7439fb1f4338fffd0bc68bb62d78f7712725f26.tar.xz linux-d7439fb1f4338fffd0bc68bb62d78f7712725f26.zip |
fs: Provide helpers for manipulating sb->s_readonly_remount
Provide helpers to set and clear sb->s_readonly_remount including
appropriate memory barriers. Also use this opportunity to document what
the barriers pair with and why they are needed.
Suggested-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Message-Id: <20230620112832.5158-1-jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/iommu/amd/init.c')
0 files changed, 0 insertions, 0 deletions