From: Jakub Wilk <jwilk@jwilk.net>
To: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Subject: [PATCH] coredump: remove outdated comment
Date: Mon, 18 Mar 2019 19:28:24 +0100 [thread overview]
Message-ID: <20190318182824.2371-1-jwilk@jwilk.net> (raw)
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
reply other threads:[~2019-03-18 22:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190318182824.2371-1-jwilk@jwilk.net \
--to=jwilk@jwilk.net \
--cc=linux-fsdevel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).