From 12f205443da44be5e4c3cb2e65c8d709fae1e16b Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 7 Jun 2010 11:27:33 +1000 Subject: [PATCH] Fix compile warning / incorrect test. New compiler noticed this... Signed-off-by: NeilBrown --- roll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5