Re: [PATCH 26/30] xfs: improve xfs_forget_acl

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

 



On Mon, Feb 10, 2020 at 12:15:34PM +0530, Chandan Rajendra wrote:
> >  	error = xfs_attr_set(&args);
> > -	if (!error)
> > -		xfs_forget_acl(inode, name, args.flags);
> > +	if (!error && (flags & ATTR_ROOT))
> 
> ATTR_ROOT should be checked against args.flags.
> 
> 'flags' refers to argument passed to setxattr() syscall i.e. it can have
> XATTR_CREATE or XATTR_REPLACE as its value.

Fixed, thanks.



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux