ceph: do not drop lease during revalidate
authorSage Weil <sage@newdream.net>
Mon, 21 Dec 2009 19:48:44 +0000 (11:48 -0800)
committerSage Weil <sage@newdream.net>
Tue, 22 Dec 2009 00:39:58 +0000 (16:39 -0800)
commit5de7bf8afa87f75af5ef3d6f9fce3e171cac834c
tree42d3cdf8c6a78ee9057adca516dea26c890be24e
parentc4a29f26d50bea65809ca670992108a33aa2efa6
ceph: do not drop lease during revalidate

We need to hold session s_mutex for __ceph_mdsc_drop_dentry_lease(), which
we don't, so skip it.  It was purely an optimization.

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