commit | 8ef2ce3e16d9bec6cf015207c1c82a5b864046ac | [log] [tgz] |
---|---|---|
author | Bryan Schumaker <bjschuma@netapp.com> | Wed Mar 23 15:04:31 2011 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Mar 23 15:14:27 2011 -0400 |
tree | 35441fd695c4f5215ab0061d8df26b4cfd9a44f5 | |
parent | 480c2006ebb44ae03165695db7b3e38c04e0d102 [diff] |
NFS: Detect loops in a readdir due to bad cookies Some filesystems (such as ext4) can return the same cookie value for multiple files. If we try to start a readdir with one of these cookies, the server will return the first file found with a cookie of the same value. This can cause the client to enter an infinite loop. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>