From: Jeff Layton Date: Mon, 2 Aug 2010 21:43:54 +0000 (-0400) Subject: cifs: reduce false positives with inode aliasing serverino autodisable X-Git-Tag: v2.6.36-rc1~505^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5acfec2502cf60a91dc1959e476b588ecb3a1b8a;p=pandora-kernel.git cifs: reduce false positives with inode aliasing serverino autodisable It turns out that not all directory inodes with dentries on the i_dentry list are unusable here. We only consider them unusable if they are still hashed or if they have a root dentry attached. Full disclosure -- this check is inherently racy. There's nothing that stops someone from slapping a new dentry onto this inode just after this check, or hashing an existing one that's already attached. So, this is really a "best effort" thing to work around misbehaving servers. Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed