f2fs: rewrite f2fs_bio_alloc to make it simpler
authorNamjae Jeon <namjae.jeon@samsung.com>
Sat, 8 Dec 2012 05:53:40 +0000 (14:53 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 11 Dec 2012 04:43:44 +0000 (13:43 +0900)
commitc212991a6bc3ba120d41205a294c5b89f05f1535
tree1078feaea977a2af0ea6da47c0aec342c2272207
parentd08ab08d140de247eb812ce2c3c4b323620e4609
f2fs: rewrite f2fs_bio_alloc to make it simpler

Since, GFP_NOFS(__GFP_WAIT) is used for allocation requests of bio in f2fs.
So, there is no chance of returning NULL from the BIO allocation.

Making the bio allocation routine for f2fs simpler.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
fs/f2fs/segment.c