On Tue, Jun 20, 2023 at 01:28:32PM +0200, Jan Kara wrote: > 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@xxxxxxxxxxxxx> > Signed-off-by: Jan Kara <jack@xxxxxxx> > --- > fs/internal.h | 41 +++++++++++++++++++++++++++++++++++++++++ > fs/namespace.c | 25 ++++++++++++++++--------- > fs/super.c | 17 ++++++----------- > include/linux/fs.h | 2 +- > 4 files changed, 64 insertions(+), 21 deletions(-) Looks good. Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx