zram: remove bio parameter from zram_bvec_rw()
authorkaram.lee <[email protected]>
Sat, 13 Dec 2014 00:56:47 +0000 (16:56 -0800)
committerLinus Torvalds <[email protected]>
Sat, 13 Dec 2014 20:42:49 +0000 (12:42 -0800)
commitb627cff3d308d3ccb3ec73a89260f5c7872e46a4
tree9b97db382c8467564528cad4503e369f45a0cc55
parent9eec4cd53f9865b733dc78cf5f6465871beed014
zram: remove bio parameter from zram_bvec_rw()

Recently rw_page block device operation has been added.  This patchset
implements rw_page operation for zram block device and does some clean-up.

This patch (of 3):

Remove an unnecessary parameter(bio) from zram_bvec_rw() and
zram_bvec_read().  zram_bvec_read() doesn't use a bio parameter, so remove
it.  zram_bvec_rw() calls a read/write operation not using bio, so a rw
parameter replaces a bio parameter.

Signed-off-by: karam.lee <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Acked-by: Jerome Marchand <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Nitin Gupta <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/block/zram/zram_drv.c