swapfile: remove SWP_ACTIVE mask
authorHugh Dickins <hugh@veritas.com>
Tue, 6 Jan 2009 22:39:48 +0000 (14:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:05 +0000 (15:59 -0800)
commit22c6f8fdb31993cf49bdd4a47b64a7002391e1c7
tree4721575904bc220bed559efb95f04f32a1febbfe
parent73fd8748ab0b9b3ddd178bea1d7ae03372033d96
swapfile: remove SWP_ACTIVE mask

Remove the SWP_ACTIVE mask: it just obscures the SWP_WRITEOK flag.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/swap.h
mm/swapfile.c