projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb1c4fe
)
Revert "sdcardfs: limit stacking depth"
author
alexax66
<alexax66@mail.ru>
Sat, 9 Sep 2017 13:07:13 +0000
(13:07 +0000)
committer
Stricted
<info@stricted.net>
Thu, 11 Oct 2018 16:03:26 +0000
(18:03 +0200)
This reverts commit
1d9ff6b31bd797409085ddeb606d8654979be7dc
.
fs/sdcardfs/main.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/sdcardfs/main.c
b/fs/sdcardfs/main.c
index fb9dd5dea2b8ce8ca672b1f58dc25b81fafca210..8d16e4d16d96da5a7792f97a1e8f8c797a64bd18 100644
(file)
--- a/
fs/sdcardfs/main.c
+++ b/
fs/sdcardfs/main.c
@@
-284,13
+284,6
@@
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;