BACKPORT: zram: change parameter from vaild_io_request()
(cherry-pick from commit 54850e73e86e3bc092680d1bdb84eb322f982ab1) This patch changes parameter of valid_io_request for common usage. The purpose of valid_io_request() is to determine if bio request is valid or not. This patch use I/O start address and size instead of a BIO parameter for common usage. Bug: 25951511 Change-Id: I72ddd150a7cefb7f4cf33682431e284bd86c4128 Signed-off-by:karam.lee <karam.lee@lge.com> Acked-by:
Minchan Kim <minchan@kernel.org> Acked-by:
Jerome Marchand <jmarchan@redhat.com> Cc: Matthew Wilcox <matthew.r.wilcox@intel.com> Cc: Nitin Gupta <ngupta@vflare.org> Cc: <seungho1.park@lge.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Loading
Please register or sign in to comment