From: Bryan Schumaker Date: Wed, 23 Mar 2011 19:04:31 +0000 (-0400) Subject: NFS: Detect loops in a readdir due to bad cookies X-Git-Tag: v2.6.39-rc1~72^2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ef2ce3e16d9bec6cf015207c1c82a5b864046ac;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed