From cebf169b49a006e97a1439b71ebf3faf90a713b4 Mon Sep 17 00:00:00 2001 From: Yaroslav Furman Date: Fri, 22 Jun 2018 20:17:52 +0300 Subject: [PATCH] fs: ecryptfs: fix parentheses-equality warning Signed-off-by: Yaroslav Furman --- fs/ecryptfs/mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ecryptfs/mm.c b/fs/ecryptfs/mm.c index 797df5153cbb..12c3a0b47f9f 100644 --- a/fs/ecryptfs/mm.c +++ b/fs/ecryptfs/mm.c @@ -153,7 +153,7 @@ static unsigned long drop_inode_pagecache(struct inode *inode) { printk("%s() cleaning [%s] pages: %lu\n", __func__, inode->i_sb->s_type->name,inode->i_mapping->nrpages); - if ((inode->i_mapping->nrpages == 0)) { + if (inode->i_mapping->nrpages == 0) { spin_unlock(&inode->i_lock); printk("%s inode having zero nrpages\n", __func__); return 0; -- 2.20.1