]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
fs: unexport fs_context_for_reconfigure
authorChristoph Hellwig <hch@lst.de>
Thu, 19 Feb 2026 06:50:04 +0000 (07:50 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 19 Feb 2026 13:34:26 +0000 (14:34 +0100)
fs_context_for_reconfigure is only used by core VFS code and devtmpfs,
so unexport it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260219065014.3550402-5-hch@lst.de
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/fs_context.c

index 81ed94f46cac75d15b110c6ff0879a85363db1ab..4a7b8fde4c5cf1df7fb2b2a9dddc14c55097bb31 100644 (file)
@@ -318,7 +318,6 @@ struct fs_context *fs_context_for_reconfigure(struct dentry *dentry,
        return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags,
                                sb_flags_mask, FS_CONTEXT_FOR_RECONFIGURE);
 }
-EXPORT_SYMBOL(fs_context_for_reconfigure);
 
 /**
  * fs_context_for_submount: allocate a new fs_context for a submount