diff options
| -rw-r--r-- | xlators/features/leases/src/leases.c | 18 | 
1 files changed, 3 insertions, 15 deletions
diff --git a/xlators/features/leases/src/leases.c b/xlators/features/leases/src/leases.c index 8783a5ce9c2..2c1db34bd9c 100644 --- a/xlators/features/leases/src/leases.c +++ b/xlators/features/leases/src/leases.c @@ -991,11 +991,11 @@ init (xlator_t *this)          priv->timer_wheel = glusterfs_global_timer_wheel (this);          if (!priv->timer_wheel) { -                gf_msg (this->name, GF_LOG_ERROR, 0, LEASE_MSG_NO_TIMER_WHEEL, -                        "Initing the global timer wheel"); +                gf_msg_debug (this->name, 0, "Initing the global timer wheel");                  ret = glusterfs_global_timer_wheel_init (this->ctx);                  if (ret) { -                        gf_msg (this->name, GF_LOG_INFO, 0, LEASE_MSG_NO_TIMER_WHEEL, +                        gf_msg (this->name, GF_LOG_ERROR, 0, +                                LEASE_MSG_NO_TIMER_WHEEL,                                  "Initing the global timer wheel failed");                          goto out;                  } @@ -1059,18 +1059,6 @@ out:          return ret;  } -int -notify (xlator_t *this, int32_t event, void *data, ...) -{ -        int ret = 0; - -        EXIT_IF_LEASES_OFF (this, out); - -        ret = default_notify (this, event, data); -out: -        return ret; -} -  struct xlator_fops fops = {          /* Metadata modifying fops */          .fsetattr    = leases_fsetattr,  | 
