Loading fs/sdcardfs/main.c +7 −0 Original line number Diff line number Diff line Loading @@ -295,6 +295,13 @@ static int sdcardfs_read_super(struct vfsmount *mnt, struct super_block *sb, atomic_inc(&lower_sb->s_active); sdcardfs_set_lower_super(sb, lower_sb); sb->s_stack_depth = lower_sb->s_stack_depth + 1; if (sb->s_stack_depth > FILESYSTEM_MAX_STACK_DEPTH) { pr_err("sdcardfs: maximum fs stacking depth exceeded\n"); err = -EINVAL; goto out_sput; } /* inherit maxbytes from lower file system */ sb->s_maxbytes = lower_sb->s_maxbytes; Loading Loading
fs/sdcardfs/main.c +7 −0 Original line number Diff line number Diff line Loading @@ -295,6 +295,13 @@ static int sdcardfs_read_super(struct vfsmount *mnt, struct super_block *sb, atomic_inc(&lower_sb->s_active); sdcardfs_set_lower_super(sb, lower_sb); sb->s_stack_depth = lower_sb->s_stack_depth + 1; if (sb->s_stack_depth > FILESYSTEM_MAX_STACK_DEPTH) { pr_err("sdcardfs: maximum fs stacking depth exceeded\n"); err = -EINVAL; goto out_sput; } /* inherit maxbytes from lower file system */ sb->s_maxbytes = lower_sb->s_maxbytes; Loading