projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
803d0c8
)
sys_swapon: remove changelog from function comment
author
Cesar Eduardo Barros
<
[email protected]
>
Tue, 22 Mar 2011 23:33:15 +0000
(16:33 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 23 Mar 2011 00:44:05 +0000
(17:44 -0700)
Changelogs belong in the git history instead of in the source code.
Also, "The swapon system call" is redundant with
"SYSCALL_DEFINE2(swapon, ...)".
Signed-off-by: Cesar Eduardo Barros <
[email protected]
>
Tested-by: Eric B Munson <
[email protected]
>
Acked-by: Eric B Munson <
[email protected]
>
Reviewed-by: Pekka Enberg <
[email protected]
>
Reviewed-by: Jesper Juhl <
[email protected]
>
Reviewed-by: KAMEZAWA Hiroyuki <
[email protected]
>
Cc: Hugh Dickins <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
[ Gaah. That's a _historical_ comment. But the patch-series depends on removal ]
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/swapfile.c
patch
|
blob
|
history
diff --git
a/mm/swapfile.c
b/mm/swapfile.c
index 99eb5048b7a8adfbbf84882d23c931712de4a594..971464470938c744b3f6efbb816d8402e0571d13 100644
(file)
--- a/
mm/swapfile.c
+++ b/
mm/swapfile.c
@@
-1844,11
+1844,6
@@
static int __init max_swapfiles_check(void)
late_initcall(max_swapfiles_check);
#endif
-/*
- * Written 01/25/92 by Simmule Turner, heavily changed by Linus.
- *
- * The swapon system call
- */
SYSCALL_DEFINE2(swapon, const char __user *, specialfile, int, swap_flags)
{
struct swap_info_struct *p;