aboutsummaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/shmem.c')
-rw-r--r--mm/shmem.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mm/shmem.c b/mm/shmem.c
index 4aa9307feab0..7fbe67be86fa 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -3776,7 +3776,7 @@ int shmem_fill_super(struct super_block *sb, void *data, int silent)
3776 * tmpfs instance, limiting inodes to one per page of lowmem; 3776 * tmpfs instance, limiting inodes to one per page of lowmem;
3777 * but the internal instance is left unlimited. 3777 * but the internal instance is left unlimited.
3778 */ 3778 */
3779 if (!(sb->s_flags & MS_KERNMOUNT)) { 3779 if (!(sb->s_flags & SB_KERNMOUNT)) {
3780 sbinfo->max_blocks = shmem_default_max_blocks(); 3780 sbinfo->max_blocks = shmem_default_max_blocks();
3781 sbinfo->max_inodes = shmem_default_max_inodes(); 3781 sbinfo->max_inodes = shmem_default_max_inodes();
3782 if (shmem_parse_options(data, sbinfo, false)) { 3782 if (shmem_parse_options(data, sbinfo, false)) {
@@ -3784,12 +3784,12 @@ int shmem_fill_super(struct super_block *sb, void *data, int silent)
3784 goto failed; 3784 goto failed;
3785 } 3785 }
3786 } else { 3786 } else {
3787 sb->s_flags |= MS_NOUSER; 3787 sb->s_flags |= SB_NOUSER;
3788 } 3788 }
3789 sb->s_export_op = &shmem_export_ops; 3789 sb->s_export_op = &shmem_export_ops;
3790 sb->s_flags |= MS_NOSEC; 3790 sb->s_flags |= SB_NOSEC;
3791#else 3791#else
3792 sb->s_flags |= MS_NOUSER; 3792 sb->s_flags |= SB_NOUSER;
3793#endif 3793#endif
3794 3794
3795 spin_lock_init(&sbinfo->stat_lock); 3795 spin_lock_init(&sbinfo->stat_lock);
@@ -3809,7 +3809,7 @@ int shmem_fill_super(struct super_block *sb, void *data, int silent)
3809 sb->s_xattr = shmem_xattr_handlers; 3809 sb->s_xattr = shmem_xattr_handlers;
3810#endif 3810#endif
3811#ifdef CONFIG_TMPFS_POSIX_ACL 3811#ifdef CONFIG_TMPFS_POSIX_ACL
3812 sb->s_flags |= MS_POSIXACL; 3812 sb->s_flags |= SB_POSIXACL;
3813#endif 3813#endif
3814 uuid_gen(&sb->s_uuid); 3814 uuid_gen(&sb->s_uuid);
3815 3815