commit | ce587e07ba2e25b5c9d286849885b82676661f3e | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Apr 16 16:22:52 2010 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri May 14 15:09:28 2010 -0400 |
tree | 5bb91822d82fa9a26f7846edcc48bf01fad4411f | |
parent | 6e94d62993cb79397856f3330577917ca79cffa2 [diff] |
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>