[PATCH] coredump: remove outdated comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The format_corename() function was heavily refactored in
1b0d300bd0f047e2edaf9d4b6784189e6c67c3d1, but the comment wasn't
updated. The new function doesn't do anything non-obvious, so let's
remove the comment alogether.

Signed-off-by: Jakub Wilk <jwilk@xxxxxxxxx>
---
 fs/coredump.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/fs/coredump.c b/fs/coredump.c
index e42e17e55bfd..b9ff3fcba1ff 100644
--- a/fs/coredump.c
+++ b/fs/coredump.c
@@ -183,10 +183,6 @@ static int cn_print_exe_file(struct core_name *cn)
 	return ret;
 }
 
-/* format_corename will inspect the pattern parameter, and output a
- * name into corename, which must have space for at least
- * CORENAME_MAX_SIZE bytes plus one byte for the zero terminator.
- */
 static int format_corename(struct core_name *cn, struct coredump_params *cprm)
 {
 	const struct cred *cred = current_cred();
-- 
2.20.1




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux