summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/ec/src/ec-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/ec/src/ec-common.c b/xlators/cluster/ec/src/ec-common.c
index 6b7edfdecb1..e47297fb9ef 100644
--- a/xlators/cluster/ec/src/ec-common.c
+++ b/xlators/cluster/ec/src/ec-common.c
@@ -1143,7 +1143,7 @@ void ec_get_real_size(ec_lock_link_t *link)
ec_fop_data_t *fop;
dict_t *xdata;
- if (link->base == NULL) {
+ if (link->base == NULL || link->base->inode == NULL) {
return;
}