Skip to content
Commit 2b76ebaa authored by Richard Weinberger's avatar Richard Weinberger
Browse files

um: Fix __swp_type()



The current __swp_type() function uses a too small bitshift.
Using more than one swap files causes bad pages because
the type bits clash with other page flags.

CC: stable@kernel.org
Analyzed-by: default avatarHugh Dickins <hughd@google.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent f15b9000
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment