Staging: zram: round up the disk size provided by user
authorJerome Marchand <jmarchan@redhat.com>
Fri, 17 Dec 2010 16:02:28 +0000 (17:02 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 Jan 2011 00:06:18 +0000 (16:06 -0800)
commitf2da98739da4e20e907f8317d513868764002d31
tree6e97815e0c29215c03eafbade38698ef5df61869
parent2b152873469d2b0751e8b726df6415f05e37632e
Staging: zram: round up the disk size provided by user

Currently disksize_store() round down the disk size provided by user.
This is probably not what one would expect, so round up instead.

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/zram/zram_sysfs.c