commit | 1aa326640d1e91d32179310441fa3030c501d0f3 | [log] [tgz] |
---|---|---|
author | Jerome Marchand <jmarchan@redhat.com> | Fri Dec 17 17:03:15 2010 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Jan 20 16:07:00 2011 -0800 |
tree | 14eaed82cdadf87d92333c5dd4d60f8c4cd50198 | |
parent | f2da98739da4e20e907f8317d513868764002d31 [diff] |
Staging: zram: make zram_read return a bio error if the device is not initialized 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>