nfsd: simplify test_bit return in NFSD_FILE_KEY_FULL comparator
authorJeff Layton <jlayton@kernel.org>
Fri, 6 Jan 2023 15:39:01 +0000 (10:39 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 26 Apr 2023 13:04:58 +0000 (09:04 -0400)
commitd69b8dbfd0866abc5ec84652cc1c10fc3d4d91ef
treeabc0e9f002e6dcd0f68703a84e80bf06b7a1362b
parent6c31e4c98853a4ba47355ea151b36a77c42b7734
nfsd: simplify test_bit return in NFSD_FILE_KEY_FULL comparator

test_bit returns bool, so we can just compare the result of that to the
key->gc value without the "!!".

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/filecache.c