diff options
author | Li Haifeng <[email protected]> | 2014-12-10 15:44:47 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-12-10 17:41:08 -0800 |
commit | a1ad28973d3d9fe23fa73fbb66fba077a987dd81 (patch) | |
tree | 53bae97999593fcd65ff02132646477d0ad41dde /tools/perf/scripts/python/syscall-counts.py | |
parent | 26086de3fcc9694b9f9c1517e4fd5d1d33d6eb8c (diff) |
mm/frontswap.c: fix the condition in BUG_ON
The largest index of swap device is MAX_SWAPFILES-1. So the type should
be less than MAX_SWAPFILES.
Signed-off-by: Haifeng Li <[email protected]>
Acked-by: Konrad Rzeszutek Wilk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions