We don't actually check anything anyway, just ping the lock.
If the client is trusted with AUTH_EXCL, this is pointless anyway.
It is only really useful with untrusted (e.g., fuse) clients, but
they'll need some sort of special support for that later.
*/
// must read directory hard data (permissions, x bit) to traverse
+#if 0
if (!noperm &&
!mds->locker->rdlock_try(&cur->authlock, client, 0)) {
dout(7) << "traverse: waiting on authlock rdlock on " << *cur << dendl;
cur->authlock.add_waiter(SimpleLock::WAIT_RD, _get_waiter(mdr, req));
return 1;
}
+#endif
// check permissions?
// XXX