summaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache
diff options
context:
space:
mode:
authorSlava Pestov <sp@daterainc.com>2014-06-30 22:31:20 -0700
committerKent Overstreet <kmo@daterainc.com>2014-08-04 15:23:03 -0700
commit8e0948080670f6330229718b15a6a1a011d441ce (patch)
treef977c51230e1a193d507d607732e068eea95cd62 /drivers/md/bcache
parent501d52a90cbe652b41336c206ff0e95799d5a9b5 (diff)
downloadlinux-8e0948080670f6330229718b15a6a1a011d441ce.tar.gz
linux-8e0948080670f6330229718b15a6a1a011d441ce.tar.bz2
linux-8e0948080670f6330229718b15a6a1a011d441ce.zip
bcache: fix typo in bch_bkey_equal_header
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache')
-rw-r--r--drivers/md/bcache/bset.h2
1 files changed, 1 insertions, 1 deletions
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 */