diff options
author | Minchan Kim <minchan@kernel.org> | 2014-01-31 00:46:01 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-31 01:56:55 +0100 |
commit | 874e3cddc33f0c0f9cc08ad2b73fa0cbe7dfaa63 (patch) | |
tree | fe3e17b75de97c458a254fc6fc1df16587ea71ae /sound | |
parent | zram: delay pending free request in read path (diff) | |
download | linux-874e3cddc33f0c0f9cc08ad2b73fa0cbe7dfaa63.tar.xz linux-874e3cddc33f0c0f9cc08ad2b73fa0cbe7dfaa63.zip |
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 'sound')
0 files changed, 0 insertions, 0 deletions