]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: only skip querying the MDS in _lookup when we have the necessary caps
authorJeff Layton <jlayton@redhat.com>
Mon, 1 Aug 2016 13:01:15 +0000 (09:01 -0400)
committerJeff Layton <jlayton@redhat.com>
Tue, 2 Aug 2016 11:20:08 +0000 (07:20 -0400)
commit9e8476743eef195a0a9bc6ef82392a8781e82549
treecbba7c46f41ea28bf67f3b1331fade8d6cf408fc
parentf3605d39e53b3ff777eb64538abfa62a5f98a4f2
client: only skip querying the MDS in _lookup when we have the necessary caps

If we don't have the caps we'll need later, then we must reissue the
lookup to get them regardless of whether we have a lease on the
dentry.

Fixes: http://tracker.ceph.com/issues/16668
Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/client/Client.cc