diff options
Diffstat (limited to 'xlators/cluster/afr/src/afr-inode-write.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-inode-write.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-write.c b/xlators/cluster/afr/src/afr-inode-write.c index e8d843b3ce8..8b568a0eaef 100644 --- a/xlators/cluster/afr/src/afr-inode-write.c +++ b/xlators/cluster/afr/src/afr-inode-write.c @@ -226,7 +226,6 @@ afr_chmod (call_frame_t *frame, xlator_t *this, local->transaction.main_frame = frame; local->transaction.start = 0; local->transaction.len = 0; - local->transaction.pending = AFR_METADATA_PENDING; afr_transaction (transaction_frame, this, AFR_METADATA_TRANSACTION); @@ -421,7 +420,6 @@ afr_fchmod (call_frame_t *frame, xlator_t *this, local->transaction.main_frame = frame; local->transaction.start = 0; local->transaction.len = 0; - local->transaction.pending = AFR_METADATA_PENDING; afr_transaction (transaction_frame, this, AFR_METADATA_TRANSACTION); @@ -618,7 +616,6 @@ afr_chown (call_frame_t *frame, xlator_t *this, local->transaction.main_frame = frame; local->transaction.start = 0; local->transaction.len = 0; - local->transaction.pending = AFR_METADATA_PENDING; afr_transaction (transaction_frame, this, AFR_METADATA_TRANSACTION); @@ -816,7 +813,6 @@ afr_fchown (call_frame_t *frame, xlator_t *this, local->transaction.main_frame = frame; local->transaction.start = 0; local->transaction.len = 0; - local->transaction.pending = AFR_METADATA_PENDING; afr_transaction (transaction_frame, this, AFR_METADATA_TRANSACTION); @@ -1028,8 +1024,6 @@ afr_writev (call_frame_t *frame, xlator_t *this, fd_t *fd, local->transaction.len = iov_length (vector, count); } - local->transaction.pending = AFR_DATA_PENDING; - afr_transaction (transaction_frame, this, AFR_DATA_TRANSACTION); op_ret = 0; @@ -1226,7 +1220,6 @@ afr_truncate (call_frame_t *frame, xlator_t *this, local->transaction.main_frame = frame; local->transaction.start = 0; local->transaction.len = offset; - local->transaction.pending = AFR_DATA_PENDING; afr_transaction (transaction_frame, this, AFR_DATA_TRANSACTION); @@ -1425,7 +1418,6 @@ afr_ftruncate (call_frame_t *frame, xlator_t *this, local->transaction.main_frame = frame; local->transaction.start = 0; local->transaction.len = offset; - local->transaction.pending = AFR_DATA_PENDING; afr_transaction (transaction_frame, this, AFR_DATA_TRANSACTION); @@ -1626,7 +1618,6 @@ afr_utimens (call_frame_t *frame, xlator_t *this, local->transaction.main_frame = frame; local->transaction.start = 0; local->transaction.len = 0; - local->transaction.pending = AFR_METADATA_PENDING; afr_transaction (transaction_frame, this, AFR_METADATA_TRANSACTION); @@ -1817,7 +1808,6 @@ afr_setxattr (call_frame_t *frame, xlator_t *this, local->transaction.main_frame = frame; local->transaction.start = 0; local->transaction.len = 0; - local->transaction.pending = AFR_METADATA_PENDING; afr_transaction (transaction_frame, this, AFR_METADATA_TRANSACTION); @@ -2007,7 +1997,6 @@ afr_removexattr (call_frame_t *frame, xlator_t *this, local->transaction.main_frame = frame; local->transaction.start = 0; local->transaction.len = 0; - local->transaction.pending = AFR_METADATA_PENDING; afr_transaction (transaction_frame, this, AFR_METADATA_TRANSACTION); |