diff options
author | Vikas Gorur <vikas@zresearch.com> | 2009-03-12 16:21:51 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-03-12 16:29:45 +0530 |
commit | 7af8d8edbd8554235348e0f54348edf222c0b46e (patch) | |
tree | 21333449bf86e3481e8bc4197d17f69472398ef9 /libglusterfs/src/call-stub.h | |
parent | 31c817836c9c56eca1441b3b6f8b83db41c67f94 (diff) |
Add extra 'volume' parameter to inodelk/entrylk calls
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src/call-stub.h')
-rw-r--r-- | libglusterfs/src/call-stub.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/libglusterfs/src/call-stub.h b/libglusterfs/src/call-stub.h index d80ddd1733b..a970897bbac 100644 --- a/libglusterfs/src/call-stub.h +++ b/libglusterfs/src/call-stub.h @@ -487,6 +487,7 @@ typedef struct { /* inodelk */ struct { fop_inodelk_t fn; + const char *volume; loc_t loc; int32_t cmd; struct flock lock; @@ -500,6 +501,7 @@ typedef struct { /* finodelk */ struct { fop_finodelk_t fn; + const char *volume; fd_t *fd; int32_t cmd; struct flock lock; @@ -514,6 +516,7 @@ typedef struct { struct { fop_entrylk_t fn; loc_t loc; + const char *volume; const char *name; entrylk_cmd cmd; entrylk_type type; @@ -528,6 +531,7 @@ typedef struct { struct { fop_fentrylk_t fn; fd_t *fd; + const char *volume; const char *name; entrylk_cmd cmd; entrylk_type type; @@ -1086,20 +1090,22 @@ fop_lk_cbk_stub (call_frame_t *frame, call_stub_t * fop_inodelk_stub (call_frame_t *frame, fop_inodelk_t fn, - loc_t *loc, int32_t cmd, struct flock *lock); + const char *volume, loc_t *loc, int32_t cmd, + struct flock *lock); call_stub_t * fop_finodelk_stub (call_frame_t *frame, fop_finodelk_t fn, - fd_t *fd, int32_t cmd, struct flock *lock); + const char *volume, fd_t *fd, int32_t cmd, + struct flock *lock); call_stub_t * fop_entrylk_stub (call_frame_t *frame, fop_entrylk_t fn, - loc_t *loc, const char *basename, + const char *volume, loc_t *loc, const char *basename, entrylk_cmd cmd, entrylk_type type); call_stub_t * fop_fentrylk_stub (call_frame_t *frame, fop_fentrylk_t fn, - fd_t *fd, const char *basename, + const char *volume, fd_t *fd, const char *basename, entrylk_cmd cmd, entrylk_type type); call_stub_t * |