• Jeff Garzik's avatar
    After Al Viro's recent swapfile cleanup, the swap_device member of · 531d56ec
    Jeff Garzik authored
    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"
    531d56ec
swapfile.c 30.7 KB