summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2010-08-17 06:07:17 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-17 11:18:19 -0700
commit65e98c7e1d0d96cef2118bd93f8322a8a29ab96b (patch)
tree4219a3e52ebc62f93f58b99244cd3ce812c6f2ff /xlators
parentc0dfd786795a8704e92b8e35120780b8c8907f32 (diff)
cluster/afr: truncate should not treat EFBIG as failure
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1351 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1351
Diffstat (limited to 'xlators')
-rw-r--r--xlators/cluster/afr/src/afr-inode-write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-write.c b/xlators/cluster/afr/src/afr-inode-write.c
index f02b5fe1e6d..7159aeafd92 100644
--- a/xlators/cluster/afr/src/afr-inode-write.c
+++ b/xlators/cluster/afr/src/afr-inode-write.c
@@ -386,7 +386,7 @@ afr_truncate_wind_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
local->read_child_returned = _gf_true;
}
- if (afr_fop_failed (op_ret, op_errno))
+ if (afr_fop_failed (op_ret, op_errno) && op_errno != EFBIG)
afr_transaction_fop_failed (frame, this, child_index);
if (op_ret != -1) {