aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/memory-hotplug.txt
diff options
context:
space:
mode:
authorMinchan Kim <minchan@kernel.org>2014-04-07 15:38:21 -0700
committerSimon Shields <keepcalm444@gmail.com>2016-06-12 21:20:04 +1000
commit91328ed10d255697782e22f3c3576b63c1892519 (patch)
tree334ad50de26b46c11c2025b223db0087d8fff31d /Documentation/memory-hotplug.txt
parent4f995e62b6196b96a9fcdd0e1e86612f133a2940 (diff)
downloadkernel_samsung_smdk4412-91328ed10d255697782e22f3c3576b63c1892519.zip
kernel_samsung_smdk4412-91328ed10d255697782e22f3c3576b63c1892519.tar.gz
kernel_samsung_smdk4412-91328ed10d255697782e22f3c3576b63c1892519.tar.bz2
zram: propagate error to user
When we initialized zcomp with single, we couldn't change max_comp_streams without zram reset but current interface doesn't show any error to user and even it changes max_comp_streams's value without any effect so it would make user very confusing. This patch prevents max_comp_streams's change when zcomp was initialized as single zcomp and emit the error to user(ex, echo). [akpm@linux-foundation.org: don't return with the lock held, per Sergey] [fengguang.wu@intel.com: fix coccinelle warnings] Signed-off-by: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Jerome Marchand <jmarchan@redhat.com> Acked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/memory-hotplug.txt')
0 files changed, 0 insertions, 0 deletions