fs: ecryptfs: fix parentheses-equality warning
authorYaroslav Furman <yaro330@gmail.com>
Fri, 22 Jun 2018 17:17:52 +0000 (20:17 +0300)
committerivanmeler <i_ivan@windowslive.com>
Wed, 13 Apr 2022 21:13:31 +0000 (21:13 +0000)
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
fs/ecryptfs/mm.c

index 797df5153cbb6d96cc4da750a16e6e82b86d8b9a..12c3a0b47f9f8d8eaf5cf50d79118ec002816fde 100644 (file)
@@ -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;