From b304333f8686468b2d3b2c60e040b1667d8c38c9 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Fri, 3 Sep 2010 13:59:06 +0000 Subject: gfid: change in create() 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/features/access-control/src/access-control.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'xlators/features/access-control') diff --git a/xlators/features/access-control/src/access-control.c b/xlators/features/access-control/src/access-control.c index c33eb55a15f..407596684f6 100644 --- a/xlators/features/access-control/src/access-control.c +++ b/xlators/features/access-control/src/access-control.c @@ -1156,10 +1156,11 @@ out: int32_t ac_create_resume (call_frame_t *frame, xlator_t *this, loc_t *loc, - int32_t flags, mode_t mode, fd_t *fd) + int32_t flags, mode_t mode, fd_t *fd, dict_t *params) { STACK_WIND (frame, default_create_cbk, FIRST_CHILD(this), - FIRST_CHILD(this)->fops->create, loc, flags, mode, fd); + FIRST_CHILD(this)->fops->create, loc, flags, mode, + fd, params); return 0; } @@ -1197,13 +1198,14 @@ out: int32_t ac_create (call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags, - mode_t mode, fd_t *fd) + mode_t mode, fd_t *fd, dict_t *params) { call_stub_t *stub = NULL; int ret = -EFAULT; loc_t parentloc = {0, }; - stub = fop_create_stub (frame, ac_create_resume, loc, flags, mode, fd); + stub = fop_create_stub (frame, ac_create_resume, loc, flags, mode, + fd, params); if (!stub) { gf_log (this->name, GF_LOG_ERROR, "cannot create call stub: " "(out of memory)"); -- cgit