public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Get rid of libattr dependency
@ 2024-08-27 11:50 cem
  2024-08-27 11:50 ` [PATCH 1/3] libhandle: Remove " cem
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: cem @ 2024-08-27 11:50 UTC (permalink / raw)
  To: linux-xfs; +Cc: djwong, hch, hch

From: Carlos Maiolino <cem@kernel.org>

libxfs already defines most of the structs used by xfsprogs, so we don't
really need to link against libattr.

To make things more organized, and smaller easy to review patches, remove it in steps,


This is only compile-tested so far. I just sent the patches for testing,
but giving it might take a while, I'm sending it to the list for review.

Carlos Maiolino (3):
  libhandle: Remove libattr dependency
  libfrog: remove libattr dependency
  scrub: Remove libattr dependency

 include/handle.h   |  3 +--
 include/jdm.h      |  5 ++---
 libfrog/Makefile   |  7 ++-----
 libfrog/attr.h     | 23 +++++++++++++++++++++++
 libfrog/fsprops.c  | 13 ++++++-------
 libhandle/handle.c |  2 +-
 libhandle/jdm.c    | 14 +++++++-------
 scrub/Makefile     |  4 ----
 scrub/phase5.c     | 11 ++++-------
 9 files changed, 46 insertions(+), 36 deletions(-)
 create mode 100644 libfrog/attr.h

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
-- 
2.46.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-08-29 13:18 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-27 11:50 [PATCH 0/3] Get rid of libattr dependency cem
2024-08-27 11:50 ` [PATCH 1/3] libhandle: Remove " cem
2024-08-27 12:12   ` Christoph Hellwig
2024-08-27 14:44     ` Darrick J. Wong
2024-08-28  4:33       ` Christoph Hellwig
2024-08-27 14:41   ` Darrick J. Wong
2024-08-28  4:34     ` Christoph Hellwig
2024-08-29 13:18       ` Carlos Maiolino
2024-08-27 11:50 ` [PATCH 2/3] libfrog: remove " cem
2024-08-27 12:15   ` Christoph Hellwig
2024-08-27 12:24     ` Carlos Maiolino
2024-08-27 11:50 ` [PATCH 3/3] scrub: Remove " cem
2024-08-27 12:16   ` Christoph Hellwig
2024-08-27 12:27     ` Carlos Maiolino
2024-08-27 14:36       ` Darrick J. Wong
2024-08-28  4:35         ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox