Skip to content

Commit 8a227c2

Browse files
committed
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>
1 parent d6ef072 commit 8a227c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/overlayfs/dir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ DEFINE_CLASS(ovl_override_creator_creds,
617617
ovl_override_creator_creds(dentry, inode, mode),
618618
struct dentry *dentry, struct inode *inode, umode_t mode)
619619

620-
static const struct cred *ovl_setup_cred_for_create(struct dentry *dentry,
620+
static const __maybe_unused struct cred *ovl_setup_cred_for_create(struct dentry *dentry,
621621
struct inode *inode,
622622
umode_t mode,
623623
const struct cred *old_cred)

0 commit comments

Comments
 (0)