Merge pull request #7655 from gregsfortytwo/wip-metarequest-lock

client: removed unused Mutex from MetaRequest

Reviewed-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
Gregory Farnum 2016-02-15 20:36:47 -08:00
commit 0284090464

View File

@ -73,7 +73,6 @@ public:
xlist<MetaRequest*>::item unsafe_item;
xlist<MetaRequest*>::item unsafe_dir_item;
xlist<MetaRequest*>::item unsafe_target_item;
Mutex lock; //for get/set sync
Cond *caller_cond; // who to take up
Cond *dispatch_cond; // who to kick back
@ -97,7 +96,6 @@ public:
readdir_offset(0), readdir_end(false), readdir_num(0),
got_unsafe(false), item(this), unsafe_item(this),
unsafe_dir_item(this), unsafe_target_item(this),
lock("MetaRequest lock"),
caller_cond(0), dispatch_cond(0) {
memset(&head, 0, sizeof(ceph_mds_request_head));
head.op = op;