commit | 1071c86fdf98e86d2467f34444cf434ddf84f67d | [log] [tgz] |
---|---|---|
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | Mon May 25 09:38:59 2015 +0200 |
committer | Michal Hocko <mhocko@suse.cz> | Mon May 25 09:38:59 2015 +0200 |
tree | 0af9256c9d4326b6514d5545de87e600606f692c | |
parent | d7647558b94940c919395389eef9e2a98f8f0517 [diff] |
zram: cosmetic zram_bvec_write() cleanup `bool locked' local variable tells us if we should perform zcomp_strm_release() or not (jumped to `out' label before zcomp_strm_find() occurred), which is equivalent to `zstrm' being or not being NULL. remove `locked' and check `zstrm' instead. Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>