diff options
| author | Minchan Kim <minchan@kernel.org> | 2014-01-30 15:46:01 -0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2016-12-11 12:59:19 +0100 |
| commit | 2489d6353b0b02aa1d79b55d015a85020b540e7e (patch) | |
| tree | 7ff0717f76a0ed6697724698191626fc1cd1ebca /include/linux/vcodec/kernel | |
| parent | 6268c1d7b257f2d0660d7fd09aa714fed016bc02 (diff) | |
zram: remove unnecessary free
Commit a0c516cbfc74 ("zram: don't grab mutex in zram_slot_free_noity")
introduced pending zram slot free in zram's write path in case of
missing slot free by memory allocation failure in zram_slot_free_notify
but it is not necessary because we have already freed the slot right
before overwriting.
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Jerome Marchand <jmarchan@redhat.com>
Tested-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/vcodec/kernel')
0 files changed, 0 insertions, 0 deletions
