diff options
Diffstat (limited to 'xlators/features/read-only/src/read-only.c')
| -rw-r--r-- | xlators/features/read-only/src/read-only.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/features/read-only/src/read-only.c b/xlators/features/read-only/src/read-only.c index d72b2c8fd2b..207b2b1a1d6 100644 --- a/xlators/features/read-only/src/read-only.c +++ b/xlators/features/read-only/src/read-only.c @@ -46,9 +46,10 @@ init (xlator_t *this) if (!priv) goto out; + this->private = priv; + GF_OPTION_INIT ("read-only", priv->readonly_or_worm_enabled, bool, out); - this->private = priv; ret = 0; out: return ret; |
