]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix acquire_lock() calls in handle_client_open()
authorSage Weil <sage@newdream.net>
Fri, 9 Jul 2010 17:34:53 +0000 (10:34 -0700)
committerSage Weil <sage@newdream.net>
Fri, 9 Jul 2010 21:47:21 +0000 (14:47 -0700)
commit372db05178e184dc2bcc99d3e8722a67ba62a954
treed6854435db8ea18bfbc3900410bc13facc55b63d
parent3cbf578e5e4ec6a79c78fc18d9104d4e71aab014
mds: fix acquire_lock() calls in handle_client_open()

We want to acquire_locks exactly once per path through the function.
Don't look at mdr->* yet if we haven't locked yet.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/Server.cc