diff options
Diffstat (limited to 'libglusterfs/src/options.c')
-rw-r--r-- | libglusterfs/src/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/options.c b/libglusterfs/src/options.c index 44f74a498c5..75dce0ea3b6 100644 --- a/libglusterfs/src/options.c +++ b/libglusterfs/src/options.c @@ -1019,7 +1019,7 @@ xlator_validate_rec (xlator_t *xlator, char **op_errstr) THIS = xlator; /* Need this here, as this graph has not yet called init() */ - if (!xlator->mem_acct.num_types) { + if (!xlator->mem_acct) { if (!xlator->mem_acct_init) xlator->mem_acct_init = default_mem_acct_init; xlator->mem_acct_init (xlator); |