ovl: mark ovl_setup_cred_for_create() as unused temporarily

The function will become unused in the next patch.
We'll remove it in later patches to keep the diff legible.

Link: https://patch.msgid.link/20251117-work-ovl-cred-guard-prepare-v2-4-bd1c97a36d7b@kernel.org
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Christian Brauner 2025-11-17 10:34:41 +01:00
parent d6ef072d09
commit 8a227c2766
No known key found for this signature in database
GPG Key ID: 91C61BC06578DCA2
1 changed files with 1 additions and 1 deletions

View File

@ -617,7 +617,7 @@ DEFINE_CLASS(ovl_override_creator_creds,
ovl_override_creator_creds(dentry, inode, mode),
struct dentry *dentry, struct inode *inode, umode_t mode)
static const struct cred *ovl_setup_cred_for_create(struct dentry *dentry,
static const __maybe_unused struct cred *ovl_setup_cred_for_create(struct dentry *dentry,
struct inode *inode,
umode_t mode,
const struct cred *old_cred)