linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] coredump: remove outdated comment
@ 2019-03-18 18:28 Jakub Wilk
  0 siblings, 0 replies; only message in thread
From: Jakub Wilk @ 2019-03-18 18:28 UTC (permalink / raw)
  To: Alexander Viro; +Cc: linux-fsdevel

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@jwilk.net>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-18 22:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-18 18:28 [PATCH] coredump: remove outdated comment Jakub Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).