summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglusterfs/src/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/inode.c b/libglusterfs/src/inode.c
index ab4b505e22f..6d79ac2d3f9 100644
--- a/libglusterfs/src/inode.c
+++ b/libglusterfs/src/inode.c
@@ -1887,7 +1887,7 @@ inode_set_need_lookup (inode_t *inode, xlator_t *this)
{
uint64_t need_lookup = LOOKUP_NEEDED;
- if (!inode | !this)
+ if (!inode || !this)
return;
inode_ctx_set (inode, this, &need_lookup);