diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-04-16 16:22:52 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-05-14 15:09:28 -0400 |
commit | ce587e07ba2e25b5c9d286849885b82676661f3e (patch) | |
tree | 5bb91822d82fa9a26f7846edcc48bf01fad4411f /fs/gfs2/lock_dlm.c | |
parent | 6e94d62993cb79397856f3330577917ca79cffa2 (diff) | |
download | op-kernel-dev-ce587e07ba2e25b5c9d286849885b82676661f3e.zip op-kernel-dev-ce587e07ba2e25b5c9d286849885b82676661f3e.tar.gz |
NFS: Prevent the mount code from looping forever on broken exports
Keep a global count of how many referrals that the current task has
traversed on a path lookup. Return ELOOP if the count exceeds
MAX_NESTED_LINKS.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/gfs2/lock_dlm.c')
0 files changed, 0 insertions, 0 deletions