@@ -373,7 +373,7 @@ static int bd_init_fs_context(struct fs_context *fc)
struct pseudo_fs_context *ctx = init_pseudo(fc, BDEVFS_MAGIC);
if (!ctx)
return -ENOMEM;
- fc->s_iflags |= SB_I_CGROUPWB;
+ fc->s_iflags |= 1 << _SB_I_CGROUPWB;
ctx->ops = &bdev_sops;
return 0;
}
@@ -279,7 +279,7 @@ static int aio_init_fs_context(struct fs_context *fc)
{
if (!init_pseudo(fc, AIO_RING_MAGIC))
return -ENOMEM;
- fc->s_iflags |= SB_I_NOEXEC;
+ fc->s_iflags |= 1 << _SB_I_NOEXEC;
return 0;
}
@@ -1643,7 +1643,7 @@ static int nfs_init_fs_context(struct fs_context *fc)
ctx->xprtsec.cert_serial = TLS_NO_CERT;
ctx->xprtsec.privkey_serial = TLS_NO_PRIVKEY;
- fc->s_iflags |= SB_I_STABLE_WRITES;
+ fc->s_iflags |= 1 << _SB_I_STABLE_WRITES;
}
fc->fs_private = ctx;
fc->ops = &nfs_fs_context_ops;
Convert uses of SB_I_ constants in fc->s_iflags to the new bit constants. No functional changes. Signed-off-by: Jan Kara <jack@suse.cz> --- block/bdev.c | 2 +- fs/aio.c | 2 +- fs/nfs/fs_context.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)