projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hyperv: Fix some variable name typos in send-buffer init/revoke
[cascardo/linux.git]
/
mm
/
frontswap.c
diff --git
a/mm/frontswap.c
b/mm/frontswap.c
index
f2a3571
..
8d82809
100644
(file)
--- a/
mm/frontswap.c
+++ b/
mm/frontswap.c
@@
-182,7
+182,7
@@
void __frontswap_init(unsigned type, unsigned long *map)
if (frontswap_ops)
frontswap_ops->init(type);
else {
- BUG_ON(type > MAX_SWAPFILES);
+ BUG_ON(type >
=
MAX_SWAPFILES);
set_bit(type, need_init);
}
}