summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client-lk.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/client/src/client-lk.c')
-rw-r--r--xlators/protocol/client/src/client-lk.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xlators/protocol/client/src/client-lk.c b/xlators/protocol/client/src/client-lk.c
index 1bdde87df47..842e3ec5b62 100644
--- a/xlators/protocol/client/src/client-lk.c
+++ b/xlators/protocol/client/src/client-lk.c
@@ -375,9 +375,8 @@ delete_granted_locks_owner (fd_t *fd, gf_lkowner_t *owner)
this = THIS;
fdctx = this_fd_get_ctx (fd, this);
if (!fdctx) {
- if (!fd_is_anonymous (fd))
- gf_log (this->name, GF_LOG_WARNING,
- "fdctx not valid");
+ gf_log (this->name, GF_LOG_WARNING,
+ "fdctx not valid");
ret = -1;
goto out;
}