linux/Documentation
Minchan Kim 60a726e333 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>
2014-04-07 16:36:02 -07:00
..
2014-04-07 16:36:02 -07:00
2014-03-27 16:56:23 -04:00
2014-04-05 18:46:26 -07:00
2014-03-11 06:55:49 -03:00
2014-02-10 16:01:40 -08:00
2014-02-28 15:12:08 -08:00
2013-04-02 09:39:55 -07:00
2014-02-10 16:01:40 -08:00
2014-03-21 13:16:58 +01:00
2013-11-27 11:03:38 -08:00
2013-07-25 12:34:15 +02:00
2014-03-21 13:16:58 +01:00
2013-10-16 13:35:02 -07:00
2014-03-21 13:16:58 +01:00
2014-03-21 13:16:58 +01:00
2014-02-18 08:09:40 -08:00
2013-11-14 11:04:40 -08:00
2014-02-07 08:03:07 -02:00
2013-12-02 14:48:28 +01:00
2014-03-21 13:16:58 +01:00
2013-12-02 14:48:28 +01:00
2013-12-02 14:48:28 +01:00
2014-03-21 13:16:58 +01:00
2013-12-02 14:45:19 +01:00
2013-10-24 10:51:33 +02:00
2013-09-05 16:36:21 -06:00