summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/marker/src/marker-quota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/src/marker-quota.c b/xlators/features/marker/src/marker-quota.c
index 06ba0820a54..42c23403ce7 100644
--- a/xlators/features/marker/src/marker-quota.c
+++ b/xlators/features/marker/src/marker-quota.c
@@ -2129,7 +2129,7 @@ mq_xattr_state (xlator_t *this, loc_t *origin_loc, dict_t *dict,
}
}
- if (buf.ia_type == IA_IFDIR)
+ if (buf.ia_type == IA_IFDIR || loc_is_root(&loc))
mq_inspect_directory_xattr (this, ctx, contribution, &loc, dict,
buf);
else