block: don't create bio_vec slabs of less than the inline number
authorJens Axboe <jens.axboe@oracle.com>
Fri, 5 Dec 2008 15:10:29 +0000 (16:10 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 24 Mar 2009 11:35:16 +0000 (12:35 +0100)
commita7fcd37cdcb47806fb8a9070f006ee34061defa6
tree3a983ae22551ce8d0aa062d84d8165df862811fa
parent34053979fb1d923217685cf166349f1899980581
block: don't create bio_vec slabs of less than the inline number

If we don't have CONFIG_BLK_DEV_INTEGRITY set, then we don't have
any external dependencies on the bio_vec slabs. So don't create
the ones that we will inline anyway.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/bio.c