diff options
Diffstat (limited to 'xlators/features/read-only/src/worm-helper.c')
| -rw-r--r-- | xlators/features/read-only/src/worm-helper.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/read-only/src/worm-helper.c b/xlators/features/read-only/src/worm-helper.c index 425e48123b1..0770f9d77c4 100644 --- a/xlators/features/read-only/src/worm-helper.c +++ b/xlators/features/read-only/src/worm-helper.c @@ -379,7 +379,7 @@ gf_worm_state_transition (xlator_t *this, gf_boolean_t fop_with_fd,                                        &reten_state, &stbuf);          }          if (reten_state.worm && !reten_state.retain && -                 op == GF_FOP_UNLINK) { +                priv->worm_files_deletable && op == GF_FOP_UNLINK) {                  op_errno = 0;                  goto out;          }  | 
