Re: [PATCH 4/9] pidfs: use anon_inode_setattr()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon 07-04-25 11:54:18, Christian Brauner wrote:
> 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.
> 
> Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx>

OK. Feel free to add:

Reviewed-by: Jan Kara <jack@xxxxxxx>

								Honza

> ---
>  fs/pidfs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/pidfs.c b/fs/pidfs.c
> index 809c3393b6a3..10b4ee454cca 100644
> --- a/fs/pidfs.c
> +++ b/fs/pidfs.c
> @@ -569,7 +569,7 @@ static struct vfsmount *pidfs_mnt __ro_after_init;
>  static int pidfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
>  			 struct iattr *attr)
>  {
> -	return -EOPNOTSUPP;
> +	return anon_inode_setattr(idmap, dentry, attr);
>  }
>  
>  static int pidfs_getattr(struct mnt_idmap *idmap, const struct path *path,
> 
> -- 
> 2.47.2
> 
-- 
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux