diff options
author | Raghavendra G <raghavendra@gluster.com> | 2012-03-05 15:15:04 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-03-14 03:57:32 -0700 |
commit | 1e5653165a97999288cbf40e670d6c84a31ad3f6 (patch) | |
tree | a6c5c2dcd96d9e9cb68d34563d49beefd793c28d /xlators/mount/fuse/src/fuse-bridge.h | |
parent | a059bc30561a3046e255ba1e6ad54b09f0b03636 (diff) |
fuse-bridge/graph-cleanup: don't provide a cbk for cleanup syncop task
without a cbk, syntask_new returns only after the task is complete.
Hence we don't have to wait on a conditional variable in the caller.
Change-Id: Ie83894aa6fc02cc3a973930e67ae2b35de3b7647
BUG: 767862
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Reviewed-on: http://review.gluster.com/2870
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/mount/fuse/src/fuse-bridge.h')
-rw-r--r-- | xlators/mount/fuse/src/fuse-bridge.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.h b/xlators/mount/fuse/src/fuse-bridge.h index b7f0dfd5034..4b4307a3069 100644 --- a/xlators/mount/fuse/src/fuse-bridge.h +++ b/xlators/mount/fuse/src/fuse-bridge.h @@ -123,9 +123,6 @@ struct fuse_graph_switch_args { xlator_t *this; xlator_t *old_subvol; xlator_t *new_subvol; - pthread_cond_t cond; - pthread_mutex_t lock; - char complete; }; typedef struct fuse_graph_switch_args fuse_graph_switch_args_t; |