summaryrefslogtreecommitdiff
path: root/include/linux/average.h
diff options
context:
space:
mode:
authorJerome Marchand <jmarchan@redhat.com>2011-02-17 17:11:49 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-18 13:26:12 -0800
commit6642a67c552e6d525913bb5fb4a00b2008213451 (patch)
tree959e96168aecfc0a38e23193c05284d5a0ae49ce /include/linux/average.h
parent69648bed5383d5e9454aa9dc922dee4db2eef794 (diff)
Staging: zram: initialize device on first read
Currently the device is initialized when first write is done to the device. Any read attempt before the first write would fail, including "hidden" read the user may not know about (as for example if he tries to write a partial block). This patch initializes the device on first request, whether read or write. Signed-off-by: Jerome Marchand <jmarchan@redhat.com> Cc: Nitin Gupta <ngupta@vflare.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/average.h')
0 files changed, 0 insertions, 0 deletions