From d838e4496dec6b8889de47dd0ee31c4899ec7407 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Fri, 3 Sep 2010 13:59:30 +0000 Subject: gfid: changes in mknod() prototype to have params dictionary with uuid in it Signed-off-by: Anand V. Avati Signed-off-by: Anand V. Avati Signed-off-by: Vijay Bellur BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- xlators/protocol/legacy/client/src/client-protocol.c | 2 +- xlators/protocol/legacy/server/src/server-protocol.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'xlators/protocol/legacy') diff --git a/xlators/protocol/legacy/client/src/client-protocol.c b/xlators/protocol/legacy/client/src/client-protocol.c index e688e0e5..5e811949 100644 --- a/xlators/protocol/legacy/client/src/client-protocol.c +++ b/xlators/protocol/legacy/client/src/client-protocol.c @@ -943,7 +943,7 @@ unwind: */ int client_mknod (call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode, - dev_t dev) + dev_t dev, dict_t *params) { gf_hdr_common_t *hdr = NULL; gf_fop_mknod_req_t *req = NULL; diff --git a/xlators/protocol/legacy/server/src/server-protocol.c b/xlators/protocol/legacy/server/src/server-protocol.c index 1fbe8692..730b4f81 100644 --- a/xlators/protocol/legacy/server/src/server-protocol.c +++ b/xlators/protocol/legacy/server/src/server-protocol.c @@ -4157,7 +4157,8 @@ server_mknod_resume (call_frame_t *frame, xlator_t *bound_xl) STACK_WIND (frame, server_mknod_cbk, bound_xl, bound_xl->fops->mknod, - &(state->loc), state->mode, state->dev); + &(state->loc), state->mode, state->dev, + state->params); return 0; err: -- cgit