bcache: Make sure blocksize isn't smaller than device blocksize
authorKent Overstreet <koverstreet@google.com>
Wed, 24 Apr 2013 04:51:48 +0000 (21:51 -0700)
committerKent Overstreet <koverstreet@google.com>
Wed, 24 Apr 2013 20:07:39 +0000 (13:07 -0700)
commit8abb2a5dbadab91f9cae22270054e9ee3b3a1d2f
treeef40e5ed1d1833152ca8b542a688f9664820201f
parenta09ded8edf9ed4009930713e101249084cbcea5c
bcache: Make sure blocksize isn't smaller than device blocksize

Sanity check to make sure we don't end up doing IO the device doesn't
support.

Signed-off-by: Kent Overstreet <koverstreet@google.com>
drivers/md/bcache/super.c