Staging: zram: make zram_read return a bio error if the device is not initialized
authorJerome Marchand <jmarchan@redhat.com>
Fri, 17 Dec 2010 16:03:15 +0000 (17:03 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 Jan 2011 00:07:00 +0000 (16:07 -0800)
Make zram_read() return a bio error if the device is not initialized
instead of pretending nothing happened.

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

No differences found