* [PATCH] arch: ia64 - Update put_filp to fput
@ 2020-08-31 9:17 Anant Thazhemadam
0 siblings, 0 replies; only message in thread
From: Anant Thazhemadam @ 2020-08-31 9:17 UTC (permalink / raw)
Cc: anant.thazhemadam, Tony Luck, Fenghua Yu, Gustavo A. R. Silva,
Vlastimil Babka, Daniel Jordan, afzal mohammed,
Michel Lespinasse, linux-ia64, linux-kernel
The function `put_filp`, (along with almost all references of it) seems to
have been deprecated and exist no more, and neither the prototype nor
the function definition seem to be a part of the main kernel tree anymore.
It has been recommended that `fput` be used instead, so it felt like it
was about time this was updated too
Signed-off-by: Anant Thazhemadam <anant.thazhemadam@gmail.com>
---
arch/ia64/kernel/perfmon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c
index 0dc3611e7971..91349e38b9be 100644
--- a/arch/ia64/kernel/perfmon.c
+++ b/arch/ia64/kernel/perfmon.c
@@ -2644,7 +2644,7 @@ pfm_context_create(pfm_context_t *ctx, void *arg, int count, struct pt_regs *reg
buffer_error:
path = filp->f_path;
- put_filp(filp);
+ fput(filp);
path_put(&path);
if (ctx->ctx_buf_fmt) {
--
2.25.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-31 9:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-31 9:17 [PATCH] arch: ia64 - Update put_filp to fput Anant Thazhemadam
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).