Re: [PATCH 5/5] xfs: move xfs_attr_use_log_assist usage out of libxfs

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

 



On Mon, May 23, 2022 at 10:36:48PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@xxxxxxxxxx>
> 
> The LARP patchset added an awkward coupling point between libxfs and
> what would be libxlog, if the XFS log were actually its own library.
> Move the code that sets up logged xattr updates out of libxfs and into
> xfs_xattr.c so that libxfs no longer has to know about xlog_* functions.
> 
> Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>
> ---
>  fs/xfs/libxfs/xfs_attr.c |   12 +-----------
>  fs/xfs/xfs_acl.c         |    3 ++-
>  fs/xfs/xfs_ioctl.c       |    3 ++-
>  fs/xfs/xfs_iops.c        |    3 ++-
>  fs/xfs/xfs_xattr.c       |   34 +++++++++++++++++++++++++++++++---
>  fs/xfs/xfs_xattr.h       |    3 +--
>  6 files changed, 39 insertions(+), 19 deletions(-)

That makes the libxfs side of things much neater.

Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx>
-- 
Dave Chinner
david@xxxxxxxxxxxxx



[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