From 7af8d8edbd8554235348e0f54348edf222c0b46e Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Thu, 12 Mar 2009 16:21:51 +0530 Subject: Add extra 'volume' parameter to inodelk/entrylk calls Signed-off-by: Anand V. Avati --- xlators/storage/bdb/src/bdb.c | 12 ++++++------ xlators/storage/posix/src/posix.c | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'xlators/storage') diff --git a/xlators/storage/bdb/src/bdb.c b/xlators/storage/bdb/src/bdb.c index 91af98003..6044ef473 100644 --- a/xlators/storage/bdb/src/bdb.c +++ b/xlators/storage/bdb/src/bdb.c @@ -2959,7 +2959,7 @@ out: int32_t bdb_inodelk (call_frame_t *frame, xlator_t *this, - loc_t *loc, int32_t cmd, struct flock *lock) + const char *volume, loc_t *loc, int32_t cmd, struct flock *lock) { frame->root->rsp_refs = NULL; @@ -2973,7 +2973,7 @@ bdb_inodelk (call_frame_t *frame, xlator_t *this, int32_t bdb_finodelk (call_frame_t *frame, xlator_t *this, - fd_t *fd, int32_t cmd, struct flock *lock) + const char *volume, fd_t *fd, int32_t cmd, struct flock *lock) { frame->root->rsp_refs = NULL; @@ -2987,8 +2987,8 @@ bdb_finodelk (call_frame_t *frame, xlator_t *this, int32_t bdb_entrylk (call_frame_t *frame, xlator_t *this, - loc_t *loc, const char *basename, entrylk_cmd cmd, - entrylk_type type) + const char *volume, loc_t *loc, const char *basename, + entrylk_cmd cmd, entrylk_type type) { frame->root->rsp_refs = NULL; @@ -3002,8 +3002,8 @@ bdb_entrylk (call_frame_t *frame, xlator_t *this, int32_t bdb_fentrylk (call_frame_t *frame, xlator_t *this, - fd_t *fd, const char *basename, entrylk_cmd cmd, - entrylk_type type) + const char *volume, fd_t *fd, const char *basename, + entrylk_cmd cmd, entrylk_type type) { frame->root->rsp_refs = NULL; diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 28b6d9ef4..657be1edc 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -3431,7 +3431,7 @@ posix_lk (call_frame_t *frame, xlator_t *this, int32_t posix_inodelk (call_frame_t *frame, xlator_t *this, - loc_t *loc, int32_t cmd, struct flock *lock) + const char *volume, loc_t *loc, int32_t cmd, struct flock *lock) { frame->root->rsp_refs = NULL; @@ -3445,7 +3445,7 @@ posix_inodelk (call_frame_t *frame, xlator_t *this, int32_t posix_finodelk (call_frame_t *frame, xlator_t *this, - fd_t *fd, int32_t cmd, struct flock *lock) + const char *volume, fd_t *fd, int32_t cmd, struct flock *lock) { frame->root->rsp_refs = NULL; @@ -3460,8 +3460,8 @@ posix_finodelk (call_frame_t *frame, xlator_t *this, int32_t posix_entrylk (call_frame_t *frame, xlator_t *this, - loc_t *loc, const char *basename, entrylk_cmd cmd, - entrylk_type type) + const char *volume, loc_t *loc, const char *basename, + entrylk_cmd cmd, entrylk_type type) { frame->root->rsp_refs = NULL; @@ -3475,8 +3475,8 @@ posix_entrylk (call_frame_t *frame, xlator_t *this, int32_t posix_fentrylk (call_frame_t *frame, xlator_t *this, - fd_t *fd, const char *basename, entrylk_cmd cmd, - entrylk_type type) + const char *volume, fd_t *fd, const char *basename, + entrylk_cmd cmd, entrylk_type type) { frame->root->rsp_refs = NULL; -- cgit