From: NeilBrown Date: Mon, 7 Jun 2010 01:27:33 +0000 (+1000) Subject: Fix compile warning / incorrect test. X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=12f205443da44be5e4c3cb2e65c8d709fae1e16b;p=LaFS.git Fix compile warning / incorrect test. New compiler noticed this... Signed-off-by: NeilBrown --- diff --git a/roll.c b/roll.c index 4418f63..37ecd21 100644 --- a/roll.c +++ b/roll.c @@ -64,7 +64,7 @@ roll_locate(struct fs *fs, u64 start, } if (this == start) { seq = le64_to_cpu(ch->seq); - if (!ch->flags & CH_CheckpointStart) { + if (!(ch->flags & CH_CheckpointStart)) { printk(KERN_ERR "LaFS: Cluster at %llu not CheckpointStart!!\n", (unsigned long long)this); return -EIO;