]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: don't rdlock_try authlock for path_traverse permission check
authorSage Weil <sage@newdream.net>
Thu, 9 Apr 2009 20:26:17 +0000 (13:26 -0700)
committerSage Weil <sage@newdream.net>
Thu, 9 Apr 2009 20:26:17 +0000 (13:26 -0700)
commit123f6211d3ff930231d47f3e9bad3ee38c402337
tree528b64f65b108659fbc59ca9b00bdcfdbba41ddb
parent38548817eb4cdd95e0e0169412748066bf2a0e77
mds: don't rdlock_try authlock for path_traverse permission check

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.
src/mds/MDCache.cc