diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-02 07:16:16 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-10 22:20:01 -0400 |
commit | 894bc8c4662ba9daceafe943a5ba0dd407da5cd3 (patch) | |
tree | 88b22172306c162df0a5fc7adbc208e3fd535bd5 /include/linux/namei.h | |
parent | 3b2e7f7539bdf5650bf5e13f18c883b7b008d03b (diff) | |
download | talos-obmc-linux-894bc8c4662ba9daceafe943a5ba0dd407da5cd3.tar.gz talos-obmc-linux-894bc8c4662ba9daceafe943a5ba0dd407da5cd3.zip |
namei: remove restrictions on nesting depth
The only restriction is that on the total amount of symlinks
crossed; how they are nested does not matter
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/namei.h')
-rw-r--r-- | include/linux/namei.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/namei.h b/include/linux/namei.h index a5d5bed2c0e1..3a6cc9651712 100644 --- a/include/linux/namei.h +++ b/include/linux/namei.h @@ -11,6 +11,8 @@ struct nameidata; enum { MAX_NESTED_LINKS = 8 }; +#define MAXSYMLINKS 40 + /* * Type of the last component on LOOKUP_PARENT */ |