commit | 8c921b2b43d47faa7c11eac1d2673bbe7fbc41dc | [log] [tgz] |
---|---|---|
author | Jerome Marchand <jmarchan@redhat.com> | Fri Jun 10 15:28:47 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jul 05 10:07:13 2011 -0700 |
tree | 353c99f06284625c3c6450770a360ced1ea61f66 | |
parent | 6a587e835e3a8ea2fe9e8fd038553f2090666bd5 [diff] |
Staging: zram: Refactor zram_read/write() functions This patch refactor the code of zram_read/write() functions. It does not removes a lot of duplicate code alone, but is mostly a helper for the third patch of this series (Staging: zram: allow partial page operations). Signed-off-by: Jerome Marchand <jmarchan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>