bcache: Add bch_keylist_init_single()
authorKent Overstreet <kmo@daterainc.com>
Thu, 9 Jan 2014 05:22:02 +0000 (21:22 -0800)
committerKent Overstreet <kmo@daterainc.com>
Tue, 18 Mar 2014 19:22:36 +0000 (12:22 -0700)
commitc13f3af9247db929fe1be86c0442ef161e615ac4
tree4af0f4811f92718230992a19f97f41df6f3c59ca
parent15754020524a56517df082799f07de880f4b29e2
bcache: Add bch_keylist_init_single()

This will potentially save us an allocation when we've got inode/dirent bkeys
that don't fit in the keylist's inline keys.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/bset.h
drivers/md/bcache/journal.c