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 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'xlators/storage/bdb/src/bdb.c') diff --git a/xlators/storage/bdb/src/bdb.c b/xlators/storage/bdb/src/bdb.c index 91af9800..6044ef47 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; -- cgit