From: Gu Zheng Date: Thu, 25 Jul 2013 03:30:01 +0000 (+0800) Subject: f2fs: move bio_private allocation out of f2fs_bio_alloc() X-Git-Tag: v3.12-rc1~127^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8207f69589c74037128ff6c9e1a44223fad3b7c;p=pandora-kernel.git f2fs: move bio_private allocation out of f2fs_bio_alloc() bio->bi_private is not always needed. As in the reading data path, end_read_io does not need bio_private for further using, so moving bio_private allocation out of f2fs_bio_alloc(). Alloc it in the submit_write_page(), and ignore it in the f2fs_readpage(). Signed-off-by: Gu Zheng Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed