]> git.neil.brown.name Git - LaFS.git/commitdiff
Fix compile warning / incorrect test.
authorNeilBrown <neilb@suse.de>
Mon, 7 Jun 2010 01:27:33 +0000 (11:27 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 7 Jun 2010 03:23:30 +0000 (13:23 +1000)
New compiler noticed this...

Signed-off-by: NeilBrown <neilb@suse.de>
roll.c

diff --git a/roll.c b/roll.c
index 4418f638c15198cd6b643a45186a2c827bbf136d..37ecd21ec16d34d7fd6cbece324b0e3feb594256 100644 (file)
--- 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;