ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: lakostis@altlinux.org
To: devel-kernel@lists.altlinux.org
Subject: [d-kernel] [PATCH 4/4] file: export file_close_fd() instead of close_fd_get_file()
Date: Fri, 23 Oct 2026 09:42:40 +0200
Message-ID: <20261023074559.941014-5-lakostis@altlinux.org> (raw)
In-Reply-To: <20261023074559.941014-1-lakostis@altlinux.org>

From: Paolo Pisati <paolo.pisati@canonical.com>

Following the refactor done in:

commit a88c955fcfb49727d0ed86b47410f6555a8e69e4
Author: Christian Brauner <brauner@kernel.org>
Date:   Thu Nov 30 13:49:07 2023 +0100

    file: s/close_fd_get_file()/file_close_fd()/g

update the export directive we added in:

commit 17f7fa4baad268cc4a93205747222be931699788
Author: Christian Brauner <brauner@kernel.org>
Date:   Wed Jan 16 23:13:25 2019 +0100

    UBUNTU: SAUCE: binder: turn into module

Anbox probably needs a review too.

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
Signed-off-by: Konstantin A. Lepikhov <lakostis@altlinux.ru>
---
 fs/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/file.c b/fs/file.c
index d18a19c2e6af..cd6ac9e9e43f 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -886,7 +886,7 @@ struct file *file_close_fd(unsigned int fd)
 
 	return file;
 }
-EXPORT_SYMBOL(close_fd_get_file);
+EXPORT_SYMBOL(file_close_fd);
 
 void do_close_on_exec(struct files_struct *files)
 {
-- 
2.50.1



  parent reply	other threads:[~2026-10-23  7:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-23  7:42 [d-kernel] [7.3] binder: turn into module lakostis
2026-10-23  7:42 ` [d-kernel] [PATCH 1/4] " lakostis
2026-10-23  7:42 ` [d-kernel] [PATCH 2/4] binder: give binder_alloc its own debug mask file lakostis
2026-10-23  7:42 ` [d-kernel] [PATCH 3/4] wait: allow to use __wake_up_pollfree() from GPL modules lakostis
2026-10-23  7:42 ` lakostis [this message]
2026-10-23  9:05 ` [d-kernel] [7.3] binder: turn into module Ivan A. Melnikov
2026-10-23 11:35   ` Konstantin Lepikhov

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=20261023074559.941014-5-lakostis@altlinux.org \
    --to=lakostis@altlinux.org \
    --cc=devel-kernel@lists.altlinux.org \
    /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

ALT Linux kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git