swsusp: Fix swap_type_of
Rafael J. Wysocki authored
There is a bug in mm/swapfile.c#swap_type_of() that makes swsusp only be
able to use the first active swap partition as the resume device.  Fix it.
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
Cc: Hugh Dickins <hugh@veritas.com>
Acked-by: default avatarPavel Machek <pavel@suse.cz>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
49071b9f
Name Last commit Last update
..
Kconfig memory hotplug: solve config broken: undefined reference to `online_page'
Makefile [PATCH] uninline zone helpers
bootmem.c [PATCH] x86_64: Handle empty PXMs that only contain hotplug memory
fadvise.c [PATCH] sys_sync_file_range()
filemap.c generic_file_buffered_write(): handle zero-length iovec segments
filemap.h generic_file_buffered_write(): handle zero-length iovec segments
filemap_xip.c [PATCH] replace inode_update_time with file_update_time
fremap.c VM: add common helper function to create the page tables
highmem.c BUG_ON() Conversion in mm/highmem.c
hugetlb.c [PATCH] hugetlb: don't allow free hugetlb count fall below reserved count
internal.h [PATCH] remove set_page_count() outside mm/
madvise.c [PATCH] Fix MADV_REMOVE protection checking
memory.c [PATCH] Don't pass boot parameters to argv_init[]
memory_hotplug.c [PATCH] spanned_pages is not updated at a case of memory hot-add
mempolicy.c [PATCH] Remove cond_resched in gather_stats()
mempool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
migrate.c [PATCH] page migration: Fix fallback behavior for dirty pages
mincore.c [PATCH] freepgt: sys_mincore ignore FIRST_USER_PGD_NR
mlock.c [PATCH] move capable() to capability.h
mmap.c IA64: local DoS with corrupted ELFs
mmzone.c [PATCH] uninline zone helpers
mprotect.c [PATCH] Enable mprotect on huge pages
mremap.c [PATCH] move capable() to capability.h
msync.c The comment describing how MS_ASYNC works in msync.c is confusing
nommu.c [PATCH] overcommit: use totalreserve_pages for nommu
oom_kill.c
page-writeback.c
page_alloc.c
page_io.c
pdflush.c
prio_tree.c
readahead.c
rmap.c
shmem.c
slab.c
slob.c
sparse.c
swap.c
swap_state.c
swapfile.c
thrash.c
tiny-shmem.c
truncate.c
util.c
vmalloc.c
vmscan.c