diff options
| author | Anand Avati <avati@gluster.com> | 2010-09-03 13:59:30 +0000 | 
|---|---|---|
| committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-04 01:45:15 -0700 | 
| commit | d838e4496dec6b8889de47dd0ee31c4899ec7407 (patch) | |
| tree | 051793458e42079aacdfcb455a051eca13c60104 /xlators/protocol | |
| parent | b304333f8686468b2d3b2c60e040b1667d8c38c9 (diff) | |
gfid: changes in mknod() 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')
| -rw-r--r-- | xlators/protocol/client/src/client.c | 5 | ||||
| -rw-r--r-- | xlators/protocol/legacy/client/src/client-protocol.c | 2 | ||||
| -rw-r--r-- | xlators/protocol/legacy/server/src/server-protocol.c | 3 | ||||
| -rw-r--r-- | xlators/protocol/server/src/server3_1-fops.c | 3 | 
4 files changed, 7 insertions, 6 deletions
diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c index 98289b1d67e..ef33fbe891d 100644 --- a/xlators/protocol/client/src/client.c +++ b/xlators/protocol/client/src/client.c @@ -358,10 +358,9 @@ out:  } - -int32_t +int  client_mknod (call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode, -              dev_t rdev) +              dev_t rdev, dict_t *params)  {          int          ret  = -1;          clnt_conf_t *conf = NULL; diff --git a/xlators/protocol/legacy/client/src/client-protocol.c b/xlators/protocol/legacy/client/src/client-protocol.c index e688e0e56b2..5e811949e09 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 1fbe86923a0..730b4f8131d 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: diff --git a/xlators/protocol/server/src/server3_1-fops.c b/xlators/protocol/server/src/server3_1-fops.c index 644b84a2072..926a5574a42 100644 --- a/xlators/protocol/server/src/server3_1-fops.c +++ b/xlators/protocol/server/src/server3_1-fops.c @@ -2035,7 +2035,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:  | 
