Skip to contentSkip to conversation

arch: ia64 - Update put_filp to fput

PATCH New Anant Thazhemadam 1 participant 1 message Aug 31, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 arch/ia64/kernel/perfmon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/ia64/kernel/perfmon.c +1 -1
index 0dc3611e7971..91349e38b9be 100644
@@ -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) {
Signature · 1 line
2.25.1