summaryrefslogtreecommitdiffstats
path: root/fs/mpage.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2010-04-16 16:22:52 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-05-14 15:09:28 -0400
commitce587e07ba2e25b5c9d286849885b82676661f3e (patch)
tree5bb91822d82fa9a26f7846edcc48bf01fad4411f /fs/mpage.c
parent6e94d62993cb79397856f3330577917ca79cffa2 (diff)
downloadop-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/mpage.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud