• Darrick J. Wong's avatar
    xfs: remove xfs_da_args.attr_flags · 54275d84
    Darrick J. Wong authored
    This field only ever contains XATTR_{CREATE,REPLACE}, and it only goes
    as deep as xfs_attr_set.  Remove the field from the structure and
    replace it with an enum specifying exactly what kind of change we want
    to make to the xattr structure.  Upsert is the name that we'll give to
    the flags==0 operation, because we're either updating an existing value
    or inserting it, and the caller doesn't care.
    
    Note: The "UPSERTR" name created here is to make userspace porting
    easier.  It will be removed in the next patch.
    Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
    Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
    54275d84
attr_repair.c 31.3 KB