diff options
author | Avra Sengupta <asengupt@redhat.com> | 2013-10-09 22:13:34 +0530 |
---|---|---|
committer | shishir gowda <sgowda@redhat.com> | 2013-11-15 12:37:58 +0530 |
commit | 8c89a5ffc9d1a9aa6a52a915cdd988c40aececb7 (patch) | |
tree | a5629248a8c8f78637370920c26445310c283fe3 /xlators/mgmt/glusterd/src/glusterd-locks.h | |
parent | 99a7b58a2983788a3bb36662d2b83c2da3b6472c (diff) |
glusterd/locks: Adding multiple volume locks supports
Also linking snap create command to mgmt_v3
Change-Id: If2ed29be072e10d0b0bd271d53e48eeaa6501ed7
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-locks.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-locks.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-locks.h b/xlators/mgmt/glusterd/src/glusterd-locks.h index 2a8cc20ed..956ae7565 100644 --- a/xlators/mgmt/glusterd/src/glusterd-locks.h +++ b/xlators/mgmt/glusterd/src/glusterd-locks.h @@ -35,4 +35,10 @@ glusterd_volume_lock (char *volname, uuid_t uuid); int32_t glusterd_volume_unlock (char *volname, uuid_t uuid); +int32_t +glusterd_multiple_volumes_lock (dict_t *dict, uuid_t uuid); + +int32_t +glusterd_multiple_volumes_unlock (dict_t *dict, uuid_t uuid); + #endif |