diff options
Diffstat (limited to 'xlators/features')
-rw-r--r-- | xlators/features/access-control/src/access-control.c | 11 | ||||
-rw-r--r-- | xlators/features/quota/src/quota.c | 4 | ||||
-rw-r--r-- | xlators/features/read-only/src/read-only.c | 5 |
3 files changed, 11 insertions, 9 deletions
diff --git a/xlators/features/access-control/src/access-control.c b/xlators/features/access-control/src/access-control.c index 159debb3f01..b659a013309 100644 --- a/xlators/features/access-control/src/access-control.c +++ b/xlators/features/access-control/src/access-control.c @@ -867,10 +867,10 @@ out: int32_t ac_symlink_resume (call_frame_t *frame, xlator_t *this, const char *linkname, - loc_t *loc) + loc_t *loc, dict_t *params) { STACK_WIND (frame, default_symlink_cbk, FIRST_CHILD(this), - FIRST_CHILD(this)->fops->symlink, linkname, loc); + FIRST_CHILD(this)->fops->symlink, linkname, loc, params); return 0; } @@ -906,15 +906,16 @@ out: } -int32_t +int ac_symlink (call_frame_t *frame, xlator_t *this, const char *linkname, - loc_t *loc) + loc_t *loc, dict_t *params) { call_stub_t *stub = NULL; int ret = -EFAULT; loc_t parentloc = {0, }; - stub = fop_symlink_stub (frame, ac_symlink_resume, linkname, loc); + stub = fop_symlink_stub (frame, ac_symlink_resume, linkname, loc, + params); if (!stub) { gf_log (this->name, GF_LOG_ERROR, "cannot create call stub: " "(out of memory)"); diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c index 002f6b35b51..40cfeb07fcc 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -581,7 +581,7 @@ quota_symlink_cbk (call_frame_t *frame, void *cookie, xlator_t *this, int quota_symlink (call_frame_t *frame, xlator_t *this, - const char *linkpath, loc_t *loc) + const char *linkpath, loc_t *loc, dict_t *params) { struct quota_priv *priv = NULL; @@ -608,7 +608,7 @@ quota_symlink (call_frame_t *frame, xlator_t *this, STACK_WIND (frame, quota_symlink_cbk, FIRST_CHILD(this), FIRST_CHILD(this)->fops->symlink, - linkpath, loc); + linkpath, loc, params); return 0; } diff --git a/xlators/features/read-only/src/read-only.c b/xlators/features/read-only/src/read-only.c index 9ebbdaaba0f..49c2ce58dd1 100644 --- a/xlators/features/read-only/src/read-only.c +++ b/xlators/features/read-only/src/read-only.c @@ -144,9 +144,10 @@ ro_rmdir (call_frame_t *frame, xlator_t *this, loc_t *loc) return 0; } -int32_t + +int ro_symlink (call_frame_t *frame, xlator_t *this, const char *linkpath, - loc_t *loc) + loc_t *loc, dict_t *params) { STACK_UNWIND_STRICT (symlink, frame, -1, EROFS, NULL, NULL, NULL, NULL); return 0; |