From: Sage Weil Date: Mon, 23 Aug 2010 04:33:32 +0000 (-0700) Subject: ceph: don't improperly set dir complete when holding EXCL cap X-Git-Tag: v2.6.36-rc3~12^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=124514918b030d74f1f3e15483b7bf3b85268082;p=pandora-kernel.git ceph: don't improperly set dir complete when holding EXCL cap If we hold the EXCL cap, we cannot trust the dir stats from the MDS (num files, subdirs) and must not incorrectly conclude that the directory is empty. If we do, we get can bad results from lookup (bad ENOENT) and bad readdir results. Signed-off-by: Sage Weil --- Reading git-diff-tree failed