diff options
author | Anand Avati <avati@gluster.com> | 2010-09-03 13:59:06 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-04 01:45:10 -0700 |
commit | b304333f8686468b2d3b2c60e040b1667d8c38c9 (patch) | |
tree | 8923cfe294e7cb61745d7bf3aed9523c35332f20 /xlators/protocol/legacy/server/src/server-helpers.c | |
parent | ac60a2a7f3c7b07830669e282d9fc796cbc78f38 (diff) |
gfid: change in create() prototype to have params dictionary with uuid in it
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com>
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'xlators/protocol/legacy/server/src/server-helpers.c')
-rw-r--r-- | xlators/protocol/legacy/server/src/server-helpers.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/protocol/legacy/server/src/server-helpers.c b/xlators/protocol/legacy/server/src/server-helpers.c index 79104752ff1..08f89af5aba 100644 --- a/xlators/protocol/legacy/server/src/server-helpers.c +++ b/xlators/protocol/legacy/server/src/server-helpers.c @@ -86,6 +86,11 @@ free_old_server_state (server_state_t *state) state->fd = NULL; } + if (state->params) { + dict_unref (state->params); + state->params = NULL; + } + if (state->iobref) { iobref_unref (state->iobref); state->iobref = NULL; |