Re: [PATCH 01/11] FOLD: improve xfs_bmapi_delalloc

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

 



On Thu, Jan 31, 2019 at 01:09:58PM -0500, Brian Foster wrote:
> > +	int			flags = XFS_BMAPI_DELALLOC, nimaps = 1, error;
> > +
> 
> I'd rather see these on separate lines.

Ok.

> >  	flags |= XFS_BMAPI_DELALLOC;
> > -	return xfs_bmapi_write(tp, ip, bno, 1, flags, total, imap, nimaps);
> > +	error = xfs_bmapi_write(tp, ip, offset_fsb, 1, flags,
> > +			XFS_EXTENTADD_SPACE_RES(ip->i_mount, XFS_DATA_FORK),
> 
> Shouldn't this be whichfork?

Yeah.

Given that this is intended to be folded into your series to clean
up the interface for the delalloc helper, do you want to take these
bits over?



[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