diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2026-05-26 19:16:24 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2026-06-08 14:54:05 -0400 |
| commit | d4152c7562a8759ef98f882385121b8dee04606d (patch) | |
| tree | e6fe9b7fff633cac5e0ee703833b6d6ad2da6f5c | |
| parent | 967c898d9defb5b6855ea9325eb2dda3b7f06bab (diff) | |
configs_attach_item(): drop unused parent_item argument
That argument has been unused since the initial merge in 2005.
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| -rw-r--r-- | fs/configfs/dir.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/configfs/dir.c b/fs/configfs/dir.c index b382d60e7ebc..2f3f3f504e2c 100644 --- a/fs/configfs/dir.c +++ b/fs/configfs/dir.c @@ -856,8 +856,7 @@ static void configfs_detach_item(struct dentry *dentry) * clean up the configfs items, and they expect their callers will * handle the dcache bits. */ -static int configfs_attach_item(struct config_item *parent_item, - struct config_item *item, +static int configfs_attach_item(struct config_item *item, struct dentry *dentry, struct configfs_fragment *frag) { @@ -899,7 +898,7 @@ static int configfs_attach_group(struct config_item *parent_item, int ret; struct configfs_dirent *sd; - ret = configfs_attach_item(parent_item, item, dentry, frag); + ret = configfs_attach_item(item, dentry, frag); if (!ret) { sd = dentry->d_fsdata; sd->s_type |= CONFIGFS_USET_DIR; @@ -1426,7 +1425,7 @@ static struct dentry *configfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, if (group) ret = configfs_attach_group(parent_item, item, dentry, frag); else - ret = configfs_attach_item(parent_item, item, dentry, frag); + ret = configfs_attach_item(item, dentry, frag); spin_lock(&configfs_dirent_lock); sd->s_type &= ~CONFIGFS_USET_IN_MKDIR; |
