ceph: fix dentry lease release
authorSage Weil <sage@newdream.net>
Fri, 23 Jul 2010 20:54:21 +0000 (13:54 -0700)
committerSage Weil <sage@newdream.net>
Fri, 23 Jul 2010 20:54:21 +0000 (13:54 -0700)
commit1dadcce358a4c4078e1ea0bc4365c3f67b8e373e
tree01e2bc98db97884a5c039a185612a878c199a1aa
parent8c696737aa61316a252c4514d09dd163f1464d33
ceph: fix dentry lease release

When we embed a dentry lease release notification in a request, invalidate
our lease so we don't think we still have it.  Otherwise we can get all
sorts of incorrect client behavior when multiple clients are interacting
with the same part of the namespace.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c