aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt3sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorChao Yu <[email protected]>2013-09-22 15:50:50 +0800
committerJaegeuk Kim <[email protected]>2013-09-24 17:45:48 +0900
commitcc7b1bb173676621b092b61d22d8d12b05efb5e8 (patch)
tree440612ad80fa325aa3a5b316b5f25d87ff6a0f81 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h
parenta57e564d14d9d123b2dd4ff1c933da0d900e0b1d (diff)
f2fs: avoid allocating failure in bio_alloc
This patch add macro MAX_BIO_BLOCKS to limit value of npages in f2fs_bio_alloc, it can avoid allocating failure in bio_alloc caused by npages is larger than BIO_MAX_PAGES. Signed-off-by: Yu Chao <[email protected]> Reviewed-by: Gu Zheng <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions