From 8e0948080670f6330229718b15a6a1a011d441ce Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Mon, 30 Jun 2014 22:31:20 -0700 Subject: [PATCH] bcache: fix typo in bch_bkey_equal_header Signed-off-by: Kent Overstreet --- drivers/md/bcache/bset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/bcache/bset.h b/drivers/md/bcache/bset.h index 5f6728d5d4dd..ae964624efb2 100644 --- a/drivers/md/bcache/bset.h +++ b/drivers/md/bcache/bset.h @@ -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 */ -- 2.34.1