On Sunday, February 23, 2020 1:01 PM Chandan Rajendra wrote: > This commit changes xfs_attr_leaf_newentsize() to explicitly accept name and > value length instead of a pointer to struct xfs_da_args. A future commit will > need to invoke xfs_attr_leaf_newentsize() from functions that do not have > a struct xfs_da_args to pass in. > > Signed-off-by: Chandan Rajendra <chandanrlinux@xxxxxxxxx> > --- > > Changelog: > V1 -> V2: > 1. Use convenience variables to reduce indentation of code. > > V2 -> V3: > 1. Introduce 'struct xfs_attr_set_resv' to collect various block size > reservations when inserting an xattr. > 2. Add xfs_calc_attr_res() to calculate the total log reservation to > required when inserting an xattr. > > V3 -> V4: > 1. Rebase the patchset on top of Christoph's "Clean attr interface" > patchset. The patchset can be obtained from > https://github.com/chandanr/linux/tree/xfs-fix-attr-resv-calc-v4. Sorry, The above link should have been https://github.com/chandanr/xfsprogs-dev/tree/xfs-fix-attr-resv-calc-v4. -- chandan