bcache: fix typo in bch_bkey_equal_header
authorSlava Pestov <sp@daterainc.com>
Tue, 1 Jul 2014 05:31:20 +0000 (22:31 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 4 Aug 2014 22:23:03 +0000 (15:23 -0700)
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/bset.h

index 5f6728d5d4ddb0f406b0b7296025f412f193793b..ae964624efb248d59f9af530c44b68175ac4324e 100644 (file)
@@ -453,7 +453,7 @@ static inline bool bch_bkey_equal_header(const struct bkey *l,
 {
        return (KEY_DIRTY(l) == KEY_DIRTY(r) &&
                KEY_PTRS(l) == KEY_PTRS(r) &&
-               KEY_CSUM(l) == KEY_CSUM(l));
+               KEY_CSUM(l) == KEY_CSUM(r));
 }
 
 /* Keylists */
This page took 0.025124 seconds and 5 git commands to generate.