diff options
author | Vijay Bellur <vijay@gluster.com> | 2012-03-01 11:43:57 -0800 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-03-01 11:43:57 -0800 |
commit | 468768d2803fa2cedafd7fc1dd379c69f45f50af (patch) | |
tree | c7b33c29a80152ea414e210e9526417f18e31fe9 /xlators/cluster/afr/src/afr.h | |
parent | 71cffc0b66b849306778515d385083b9f78857f5 (diff) |
Revert "afr: [Un]Set the 'right' lkowner for [f]{inode|entry}_lk and the 'enclosed' fop."v3.3.0qa25
This reverts commit bcfd365c10d20bde920a3c6cdd1f95b7da5ffe84.
Diffstat (limited to 'xlators/cluster/afr/src/afr.h')
-rw-r--r-- | xlators/cluster/afr/src/afr.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/xlators/cluster/afr/src/afr.h b/xlators/cluster/afr/src/afr.h index fc77b806e2f..a1c1bb39846 100644 --- a/xlators/cluster/afr/src/afr.h +++ b/xlators/cluster/afr/src/afr.h @@ -336,9 +336,6 @@ afr_index_for_transaction_type (afr_transaction_type type) typedef struct { loc_t *lk_loc; struct gf_flock lk_flock; - gf_lkowner_t fop_lkowner; /* 'copy' of fop's lk_owner to protect - against afr internal locks 'irreversibly' - overloading lk_owner.*/ const char *lk_basename; const char *lower_basename; @@ -773,12 +770,7 @@ afr_mark_locked_nodes (xlator_t *this, fd_t *fd, unsigned char *locked_nodes); void -afr_set_lk_owner (call_frame_t *frame, xlator_t *this, - afr_internal_lock_t *int_lock); - -void -afr_unset_lk_owner (call_frame_t *frame, xlator_t *this, - afr_internal_lock_t *int_lock); +afr_set_lk_owner (call_frame_t *frame, xlator_t *this); int afr_set_lock_number (call_frame_t *frame, xlator_t *this); |