diff options
author | Sage Weil <sage@newdream.net> | 2010-08-22 21:33:32 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-08-22 21:33:32 -0700 |
commit | 124514918b030d74f1f3e15483b7bf3b85268082 (patch) | |
tree | 78f539354383bf0820dc1cb20fd752b63f74760c /fs/ceph/caps.c | |
parent | 679ceace848e9fd570678396ffe1ef034e00e82d (diff) | |
download | op-kernel-dev-124514918b030d74f1f3e15483b7bf3b85268082.zip op-kernel-dev-124514918b030d74f1f3e15483b7bf3b85268082.tar.gz |
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 <sage@newdream.net>
Diffstat (limited to 'fs/ceph/caps.c')
0 files changed, 0 insertions, 0 deletions