lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 31 Aug 2020 14:47:46 +0530
From:   Anant Thazhemadam <anant.thazhemadam@...il.com>
To:     unlisted-recipients:; (no To-header on input)
Cc:     anant.thazhemadam@...il.com, Tony Luck <tony.luck@...el.com>,
        Fenghua Yu <fenghua.yu@...el.com>,
        "Gustavo A. R. Silva" <gustavoars@...nel.org>,
        Vlastimil Babka <vbabka@...e.cz>,
        Daniel Jordan <daniel.m.jordan@...cle.com>,
        afzal mohammed <afzal.mohd.ma@...il.com>,
        Michel Lespinasse <walken@...gle.com>,
        linux-ia64@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] arch: ia64 - Update put_filp to fput

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@...il.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ