]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix xlock_finish issue flag check
authorSage Weil <sage@newdream.net>
Thu, 9 Jun 2011 21:21:12 +0000 (14:21 -0700)
committerSage Weil <sage@newdream.net>
Thu, 9 Jun 2011 23:14:03 +0000 (16:14 -0700)
commit87ba043533000bad23f3ee622ea7d34eb688bf99
treeb50af0236768914205e5e96f0af77ca076ecb75c
parent5b304bdd87f6f7d95efc0e835b911e5d56c498e7
mds: fix xlock_finish issue flag check

We were sometimes setting do_issue but not *pneed_issue.  Simplify by
setting do_issue internally to the function and then either issuing or
setting *pneed_issue at the end.

Also fix bug with second argument to eval_gather().

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