Added loop check when mounting DFS tree.
authorIgor Mammedov <niallain@gmail.com>
Tue, 21 Apr 2009 15:31:05 +0000 (19:31 +0400)
committerSteve French <sfrench@us.ibm.com>
Thu, 30 Apr 2009 17:24:09 +0000 (17:24 +0000)
commit5c2503a8e339fbc82f49d5706c5a4ad650dd9711
tree3b56e1e41b35ef743cc469b91f0aff184ec06898
parent1af28ceb923d04357733642a3dbc4497da4db1c2
Added loop check when mounting DFS tree.

Added loop check when mounting DFS tree. mount will fail with
ELOOP if referral walks exceed MAX_NESTED_LINK count.

Signed-off-by: Igor Mammedov <niallain@gmail.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c