zram: make is_partial_io/valid_io_request/page_zero_filled return boolean
authorGeliang Tang <geliangtang@163.com>
Sat, 7 Nov 2015 00:29:06 +0000 (16:29 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 7 Nov 2015 01:50:42 +0000 (17:50 -0800)
commit1c53e0d2737f3ce4afa27d5703494eb14610ec26
tree806f42ed03d898d885a96fc91b746f8ce06f0867
parent1237275580f3e2b998d355b2ff7f84c6b423aa11
zram: make is_partial_io/valid_io_request/page_zero_filled return boolean

Make is_partial_io()/valid_io_request()/page_zero_filled() return boolean,
since each function only uses either one or zero as its return value.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/zram/zram_drv.c