git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a57e564
)
f2fs: avoid allocating failure in bio_alloc
author
Chao Yu
<chao2.yu@samsung.com>
Sun, 22 Sep 2013 07:50:50 +0000
(15:50 +0800)
committer
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Tue, 24 Sep 2013 08:45:48 +0000
(17:45 +0900)
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 <chao2.yu@samsung.com>
Reviewed-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
No differences found