commit | f4eaf51a72e5c6d9dc895abdd02676a2ef4c3ae7 | [log] [tgz] |
---|---|---|
author | Wei Yang <[email protected]> | Mon Jun 01 21:48:49 2020 -0700 |
committer | Linus Torvalds <[email protected]> | Tue Jun 02 10:59:08 2020 -0700 |
tree | e4b86268eb2cc6ff33074720af0448e600b2c925 | |
parent | ca2c55a7371ca3db64f5ac9ed2cb998682bf6fae [diff] |
mm/swapfile.c: explicitly show ssd/non-ssd is handled mutually exclusive The code shows if this is ssd, it will jump to specific tag and skip the following code for non-ssd. Let's use "else if" to explicitly show the mutually exclusion for ssd/non-ssd to reduce ambiguity. Signed-off-by: Wei Yang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Tim Chen <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>