git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: kvfree the swap cluster info if the swap file is unsatisfactory
[sfrench/cifs-2.6.git]
/
mm
/
swapfile.c
diff --git
a/mm/swapfile.c
b/mm/swapfile.c
index d483278ee35b1fe9f728ec93c867dcd7621fd4af..12251d386dc76b3ad8db17014086538f80ccf686 100644
(file)
--- a/
mm/swapfile.c
+++ b/
mm/swapfile.c
@@
-3290,7
+3290,7
@@
bad_swap:
p->flags = 0;
spin_unlock(&swap_lock);
vfree(swap_map);
- vfree(cluster_info);
+
k
vfree(cluster_info);
if (swap_file) {
if (inode && S_ISREG(inode->i_mode)) {
inode_unlock(inode);