From 73c1d19584c30c4635fc8fa15bfd51cedddab5e0 Mon Sep 17 00:00:00 2001 From: Shwetha Acharya Date: Fri, 3 Aug 2018 15:12:45 +0530 Subject: marker: FORWARD_NULL coverity fix Problem: Coverity false positive. Solution: Added a comment to ignore the false positive. CID: 1325591 BUG: 789278 Change-Id: I95037efd12c059efcfc04f3c4c13f60c530150b4 Signed-off-by: Shwetha Acharya --- xlators/features/marker/src/marker-quota.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features/marker/src/marker-quota.c') 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 -- cgit