From: Christoph Hellwig <hch@infradead.org>
To: cem@kernel.org
Cc: linux-xfs@vger.kernel.org, djwong@kernel.org, hch@lst.de,
hch@infradead.org
Subject: Re: [PATCH 3/3] scrub: Remove libattr dependency
Date: Tue, 27 Aug 2024 05:16:47 -0700 [thread overview]
Message-ID: <Zs3Dr2wwcaAFhMMO@infradead.org> (raw)
In-Reply-To: <20240827115032.406321-4-cem@kernel.org>
> */
> +
> #define ATTR_ENTRY(buffer, index) \
Spurious whitespace change.
> ((struct xfs_attrlist_ent *) \
> &((char *)buffer)[ ((struct xfs_attrlist *)(buffer))->al_offset[index] ])
>
> +/* Attr flags used within xfsprogs, must match the definitions from libattr */
> +#define ATTR_ROOT 0x0002 /* use root namespace attributes in op */
> +#define ATTR_SECURE 0x0008 /* use security namespaces attributes in op */
Why do we need these vs just using XFS_ATTR_ROOT/XFS_ATTR_SECURE from
xfs_da_format.h?
> + struct xfs_attrlist *attrlist = (struct xfs_attrlist *)attrbuf;
Overly long line.
next prev parent reply other threads:[~2024-08-27 12:16 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2024-08-27 12:27 ` Carlos Maiolino
2024-08-27 14:36 ` Darrick J. Wong
2024-08-28 4:35 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zs3Dr2wwcaAFhMMO@infradead.org \
--to=hch@infradead.org \
--cc=cem@kernel.org \
--cc=djwong@kernel.org \
--cc=hch@lst.de \
--cc=linux-xfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox