aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorHugh Dickins <[email protected]>2013-02-22 16:36:10 -0800
committerLinus Torvalds <[email protected]>2013-02-23 17:50:24 -0800
commit56f31801ccdecb420d0d1fd2bf9f337c355214a9 (patch)
tree868442b02e6c83bdd52e4e129b17b90341190b6d /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent9e16b7fb1d066d38d01fd57c449f2640c5d208cb (diff)
mm: cleanup "swapcache" in do_swap_page
I dislike the way in which "swapcache" gets used in do_swap_page(): there is always a page from swapcache there (even if maybe uncached by the time we lock it), but tests are made according to "swapcache". Rework that with "page != swapcache", as has been done in unuse_pte(). Signed-off-by: Hugh Dickins <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Petr Holasek <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Izik Eidus <[email protected]> Cc: Johannes Weiner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions