summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features')
-rw-r--r--xlators/features/quota/src/quota.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
index a8a0d014fae..94a7ec83b25 100644
--- a/xlators/features/quota/src/quota.c
+++ b/xlators/features/quota/src/quota.c
@@ -74,6 +74,7 @@ quota_statvfs_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
static void
build_root_loc (xlator_t *this, loc_t *loc)
{
+ memset (loc, 0, sizeof (*loc));
loc->path = "/";
}