diff options
Diffstat (limited to 'xlators/cluster/ec/src/ec-locks.c')
| -rw-r--r-- | xlators/cluster/ec/src/ec-locks.c | 36 | 
1 files changed, 18 insertions, 18 deletions
diff --git a/xlators/cluster/ec/src/ec-locks.c b/xlators/cluster/ec/src/ec-locks.c index f978af0ac67..ffcac074c4d 100644 --- a/xlators/cluster/ec/src/ec-locks.c +++ b/xlators/cluster/ec/src/ec-locks.c @@ -275,7 +275,7 @@ ec_manager_entrylk(ec_fop_data_t *fop, int32_t state)  void  ec_entrylk(call_frame_t *frame, xlator_t *this, uintptr_t target, -           int32_t minimum, fop_entrylk_cbk_t func, void *data, +           uint32_t fop_flags, fop_entrylk_cbk_t func, void *data,             const char *volume, loc_t *loc, const char *basename,             entrylk_cmd cmd, entrylk_type type, dict_t *xdata)  { @@ -288,9 +288,9 @@ ec_entrylk(call_frame_t *frame, xlator_t *this, uintptr_t target,      GF_VALIDATE_OR_GOTO(this->name, frame, out);      GF_VALIDATE_OR_GOTO(this->name, this->private, out); -    fop = ec_fop_data_allocate(frame, this, GF_FOP_ENTRYLK, 0, target, minimum, -                               ec_wind_entrylk, ec_manager_entrylk, callback, -                               data); +    fop = ec_fop_data_allocate(frame, this, GF_FOP_ENTRYLK, 0, target, +                               fop_flags, ec_wind_entrylk, ec_manager_entrylk, +                               callback, data);      if (fop == NULL) {          goto out;      } @@ -403,7 +403,7 @@ ec_wind_fentrylk(ec_t *ec, ec_fop_data_t *fop, int32_t idx)  void  ec_fentrylk(call_frame_t *frame, xlator_t *this, uintptr_t target, -            int32_t minimum, fop_fentrylk_cbk_t func, void *data, +            uint32_t fop_flags, fop_fentrylk_cbk_t func, void *data,              const char *volume, fd_t *fd, const char *basename, entrylk_cmd cmd,              entrylk_type type, dict_t *xdata)  { @@ -416,9 +416,9 @@ ec_fentrylk(call_frame_t *frame, xlator_t *this, uintptr_t target,      GF_VALIDATE_OR_GOTO(this->name, frame, out);      GF_VALIDATE_OR_GOTO(this->name, this->private, out); -    fop = ec_fop_data_allocate(frame, this, GF_FOP_FENTRYLK, 0, target, minimum, -                               ec_wind_fentrylk, ec_manager_entrylk, callback, -                               data); +    fop = ec_fop_data_allocate(frame, this, GF_FOP_FENTRYLK, 0, target, +                               fop_flags, ec_wind_fentrylk, ec_manager_entrylk, +                               callback, data);      if (fop == NULL) {          goto out;      } @@ -650,7 +650,7 @@ ec_manager_inodelk(ec_fop_data_t *fop, int32_t state)  void  ec_inodelk(call_frame_t *frame, xlator_t *this, gf_lkowner_t *owner, -           uintptr_t target, int32_t minimum, fop_inodelk_cbk_t func, +           uintptr_t target, uint32_t fop_flags, fop_inodelk_cbk_t func,             void *data, const char *volume, loc_t *loc, int32_t cmd,             struct gf_flock *flock, dict_t *xdata)  { @@ -664,9 +664,9 @@ ec_inodelk(call_frame_t *frame, xlator_t *this, gf_lkowner_t *owner,      GF_VALIDATE_OR_GOTO(this->name, frame, out);      GF_VALIDATE_OR_GOTO(this->name, this->private, out); -    fop = ec_fop_data_allocate(frame, this, GF_FOP_INODELK, 0, target, minimum, -                               ec_wind_inodelk, ec_manager_inodelk, callback, -                               data); +    fop = ec_fop_data_allocate(frame, this, GF_FOP_INODELK, 0, target, +                               fop_flags, ec_wind_inodelk, ec_manager_inodelk, +                               callback, data);      if (fop == NULL) {          goto out;      } @@ -782,7 +782,7 @@ ec_wind_finodelk(ec_t *ec, ec_fop_data_t *fop, int32_t idx)  void  ec_finodelk(call_frame_t *frame, xlator_t *this, gf_lkowner_t *owner, -            uintptr_t target, int32_t minimum, fop_finodelk_cbk_t func, +            uintptr_t target, uint32_t fop_flags, fop_finodelk_cbk_t func,              void *data, const char *volume, fd_t *fd, int32_t cmd,              struct gf_flock *flock, dict_t *xdata)  { @@ -796,9 +796,9 @@ ec_finodelk(call_frame_t *frame, xlator_t *this, gf_lkowner_t *owner,      GF_VALIDATE_OR_GOTO(this->name, frame, out);      GF_VALIDATE_OR_GOTO(this->name, this->private, out); -    fop = ec_fop_data_allocate(frame, this, GF_FOP_FINODELK, 0, target, minimum, -                               ec_wind_finodelk, ec_manager_inodelk, callback, -                               data); +    fop = ec_fop_data_allocate(frame, this, GF_FOP_FINODELK, 0, target, +                               fop_flags, ec_wind_finodelk, ec_manager_inodelk, +                               callback, data);      if (fop == NULL) {          goto out;      } @@ -1032,7 +1032,7 @@ ec_manager_lk(ec_fop_data_t *fop, int32_t state)  }  void -ec_lk(call_frame_t *frame, xlator_t *this, uintptr_t target, int32_t minimum, +ec_lk(call_frame_t *frame, xlator_t *this, uintptr_t target, uint32_t fop_flags,        fop_lk_cbk_t func, void *data, fd_t *fd, int32_t cmd,        struct gf_flock *flock, dict_t *xdata)  { @@ -1045,7 +1045,7 @@ ec_lk(call_frame_t *frame, xlator_t *this, uintptr_t target, int32_t minimum,      GF_VALIDATE_OR_GOTO(this->name, frame, out);      GF_VALIDATE_OR_GOTO(this->name, this->private, out); -    fop = ec_fop_data_allocate(frame, this, GF_FOP_LK, 0, target, minimum, +    fop = ec_fop_data_allocate(frame, this, GF_FOP_LK, 0, target, fop_flags,                                 ec_wind_lk, ec_manager_lk, callback, data);      if (fop == NULL) {          goto out;  | 
