From: Christian Schoenebeck <qemu_oss@crudebyte.com>
To: Bin Meng <bin.meng@windriver.com>,
qemu-devel@nongnu.org, qemu-trivial@nongnu.org
Cc: Greg Kurz <groug@kaod.org>
Subject: Re: [PATCH v2 02/19] hw/9pfs: Drop unnecessary *xattr wrapper API declarations
Date: Fri, 18 Nov 2022 14:10:46 +0100 [thread overview]
Message-ID: <2297121.quG6T8svdv@silver> (raw)
In-Reply-To: <20221118094226.245d4667@bahia>
On Friday, November 18, 2022 9:42:26 AM CET Greg Kurz wrote:
> On Fri, 11 Nov 2022 12:22:08 +0800
> Bin Meng <bin.meng@windriver.com> wrote:
>
> > These are not used anywhere in the source tree. Drop them.
> >
> > Signed-off-by: Bin Meng <bin.meng@windriver.com>
> > ---
> >
>
> This one could even go through the trivial tree right
> away IMHO.
+1
> Reviewed-by: Greg Kurz <groug@kaod.org>
>
> > (no changes since v1)
> >
> > hw/9pfs/9p-util.h | 11 -----------
> > 1 file changed, 11 deletions(-)
> >
> > diff --git a/hw/9pfs/9p-util.h b/hw/9pfs/9p-util.h
> > index c3526144c9..ccfc8b1cb3 100644
> > --- a/hw/9pfs/9p-util.h
> > +++ b/hw/9pfs/9p-util.h
> > @@ -90,19 +90,8 @@ static inline int errno_to_dotl(int err) {
> >
> > #ifdef CONFIG_DARWIN
> > #define qemu_fgetxattr(...) fgetxattr(__VA_ARGS__, 0, 0)
> > -#define qemu_lgetxattr(...) getxattr(__VA_ARGS__, 0, XATTR_NOFOLLOW)
> > -#define qemu_llistxattr(...) listxattr(__VA_ARGS__, XATTR_NOFOLLOW)
> > -#define qemu_lremovexattr(...) removexattr(__VA_ARGS__, XATTR_NOFOLLOW)
> > -static inline int qemu_lsetxattr(const char *path, const char *name,
> > - const void *value, size_t size, int
flags) {
> > - return setxattr(path, name, value, size, 0, flags | XATTR_NOFOLLOW);
> > -}
> > #else
> > #define qemu_fgetxattr fgetxattr
> > -#define qemu_lgetxattr lgetxattr
> > -#define qemu_llistxattr llistxattr
> > -#define qemu_lremovexattr lremovexattr
> > -#define qemu_lsetxattr lsetxattr
> > #endif
> >
> > static inline void close_preserve_errno(int fd)
>
>
>
next prev parent reply other threads:[~2022-11-18 13:11 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-11 4:22 [PATCH v2 00/19] At present there is no Windows support for 9p file system Bin Meng
2022-11-11 4:22 ` [PATCH v2 01/19] qemu/xattr.h: Exclude <sys/xattr.h> for Windows Bin Meng
2022-11-11 4:22 ` [PATCH v2 02/19] hw/9pfs: Drop unnecessary *xattr wrapper API declarations Bin Meng
2022-11-18 8:42 ` Greg Kurz
2022-11-18 13:10 ` Christian Schoenebeck [this message]
2022-11-11 4:22 ` [PATCH v2 03/19] hw/9pfs: Replace the direct call to xxxat() APIs with a wrapper Bin Meng
2022-11-11 4:22 ` [PATCH v2 04/19] osdep.h: Introduce a QEMU file descriptor type Bin Meng
2022-11-11 9:07 ` Daniel P. Berrangé
2022-11-11 9:23 ` Bin Meng
2022-11-11 9:29 ` Daniel P. Berrangé
2022-11-11 4:22 ` [PATCH v2 05/19] hw/9pfs: Update 9pfs to use the new QemuFd_t type Bin Meng
2022-11-18 9:29 ` Greg Kurz
2022-11-18 13:38 ` Christian Schoenebeck
2022-11-19 10:19 ` Greg Kurz
2022-11-19 15:22 ` Bin Meng
2022-11-11 4:22 ` [PATCH v2 06/19] hw/9pfs: Add missing definitions for Windows Bin Meng
2022-11-14 16:40 ` Christian Schoenebeck
2022-11-16 9:01 ` Shi, Guohuai
2022-11-16 12:52 ` Christian Schoenebeck
2022-11-11 4:22 ` [PATCH v2 07/19] hw/9pfs: Implement Windows specific utilities functions for 9pfs Bin Meng
2022-11-17 15:55 ` Christian Schoenebeck
2022-11-17 16:38 ` Shi, Guohuai
2022-11-11 4:22 ` [PATCH v2 08/19] hw/9pfs: Update the local fs driver to support Windows Bin Meng
2022-11-11 4:22 ` [PATCH v2 09/19] hw/9pfs: Support getting current directory offset for Windows Bin Meng
2022-11-11 4:22 ` [PATCH v2 10/19] hw/9pfs: Add a helper qemu_stat_rdev() Bin Meng
2022-11-11 4:22 ` [PATCH v2 11/19] hw/9pfs: Add a helper qemu_stat_blksize() Bin Meng
2022-11-11 4:22 ` [PATCH v2 12/19] hw/9pfs: Disable unsupported flags and features for Windows Bin Meng
2022-11-11 4:22 ` [PATCH v2 13/19] hw/9pfs: Update v9fs_set_fd_limit() " Bin Meng
2022-11-11 4:22 ` [PATCH v2 14/19] hw/9pfs: Add Linux error number definition Bin Meng
2022-11-11 4:22 ` [PATCH v2 15/19] hw/9pfs: Translate Windows errno to Linux value Bin Meng
2022-11-11 4:22 ` [PATCH v2 16/19] fsdev: Disable proxy fs driver on Windows Bin Meng
2022-11-11 4:22 ` [PATCH v2 17/19] hw/9pfs: Update synth fs driver for Windows Bin Meng
2022-11-11 10:30 ` Philippe Mathieu-Daudé
2022-11-11 4:22 ` [PATCH v2 18/19] tests/qtest: virtio-9p-test: Adapt the case for win32 Bin Meng
2022-11-11 7:48 ` Thomas Huth
2022-11-11 4:22 ` [PATCH v2 19/19] meson.build: Turn on virtfs for Windows Bin Meng
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=2297121.quG6T8svdv@silver \
--to=qemu_oss@crudebyte.com \
--cc=bin.meng@windriver.com \
--cc=groug@kaod.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.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;
as well as URLs for NNTP newsgroup(s).