Skip to content

Commit c83b902

Browse files
committed
pidfs: use anon_inode_setattr()
So far pidfs did use it's own version. Just use the generic version. We use our own wrappers because we're going to be implementing properties soon. Link: https://lore.kernel.org/[email protected] Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
1 parent 22bdf3d commit c83b902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/pidfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ static struct vfsmount *pidfs_mnt __ro_after_init;
569569
static int pidfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
570570
struct iattr *attr)
571571
{
572-
return -EOPNOTSUPP;
572+
return anon_inode_setattr(idmap, dentry, attr);
573573
}
574574

575575
static int pidfs_getattr(struct mnt_idmap *idmap, const struct path *path,

0 commit comments

Comments
 (0)