After Al Viro's recent swapfile cleanup, the swap_device member of
authorJeff Garzik <jgarzik@rum.normnet.org>
Fri, 8 Feb 2002 13:11:31 +0000 (08:11 -0500)
committerJeff Garzik <jgarzik@rum.normnet.org>
Fri, 8 Feb 2002 13:11:31 +0000 (08:11 -0500)
commit531d56ec271643e62b25f861d9f4a1cc60ab96c4
treed0638790d2a4ee2fa2bf2b6123cc28ff682b6183
parent0a67f33c06654f8bd199d7970447ec1d62b8cb40
After Al Viro's recent swapfile cleanup, the swap_device member of
swap_info_struct became pretty much superfluous.  As we are minimizing
kdev_t usage anyway, I took the opportunity to remove swap_device
member, and replace the remaining usages with SWP_BLOCKDEV bit flag.

Adding SWP_BLOCKDEV in turn motivated a small cleanup of the
SWP_xxx bit flags and their usage.

Patch has been in light testing for a couple weeks, and
has been glanced at by Al.  "looks sane"
include/linux/swap.h
mm/swapfile.c