X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=fs%2Fproc%2Froot.c;h=c2f39abdbb7a1f2f2a643a99855aeca9a5d3d956;hp=03102d978180eba68469ef01d13ad25465f5b796;hb=cf3069a14a9cccdd89d2b482f9eee5e37ebe25a6;hpb=9d6c5babc04522ff85b550f14563970279ab8f90 diff --git a/fs/proc/root.c b/fs/proc/root.c index 03102d978180..c2f39abdbb7a 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c @@ -53,6 +53,13 @@ static struct dentry *proc_mount(struct file_system_type *fs_type, if (IS_ERR(sb)) return ERR_CAST(sb); + /* + * procfs isn't actually a stacking filesystem; however, there is + * too much magic going on inside it to permit stacking things on + * top of it + */ + sb->s_stack_depth = FILESYSTEM_MAX_STACK_DEPTH; + if (!sb->s_root) { sb->s_flags = flags; err = proc_fill_super(sb);