From: "Christoph Böhmwalder" <christoph.boehmwalder@linbit.com>
To: Christoph Hellwig <hch@lst.de>,
philipp.reisner@linbit.com, lars.ellenberg@linbit.com
Cc: linux-block@vger.kernel.org, axboe@kernel.dk, drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] [PATCH] drbd: stop defining __KERNEL_SYSCALLS__
Date: Mon, 5 Jun 2023 11:29:11 +0200 [thread overview]
Message-ID: <2135eb9d-b673-1a0d-6698-d73de60fa00d@linbit.com> (raw)
In-Reply-To: <20230601151646.1386867-1-hch@lst.de>
Am 01.06.23 um 17:16 schrieb Christoph Hellwig:
> __KERNEL_SYSCALLS__ hasn't been needed since Linux 2.6.19 so stop
> defining it.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> drivers/block/drbd/drbd_main.c | 1 -
> drivers/block/drbd/drbd_receiver.c | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c
> index 83987e7a5ef275..54223f64610a05 100644
> --- a/drivers/block/drbd/drbd_main.c
> +++ b/drivers/block/drbd/drbd_main.c
> @@ -37,7 +37,6 @@
> #include <linux/notifier.h>
> #include <linux/kthread.h>
> #include <linux/workqueue.h>
> -#define __KERNEL_SYSCALLS__
> #include <linux/unistd.h>
> #include <linux/vmalloc.h>
> #include <linux/sched/signal.h>
> diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c
> index 8c2bc47de4735e..0c9f54197768d6 100644
> --- a/drivers/block/drbd/drbd_receiver.c
> +++ b/drivers/block/drbd/drbd_receiver.c
> @@ -27,7 +27,6 @@
> #include <uapi/linux/sched/types.h>
> #include <linux/sched/signal.h>
> #include <linux/pkt_sched.h>
> -#define __KERNEL_SYSCALLS__
> #include <linux/unistd.h>
> #include <linux/vmalloc.h>
> #include <linux/random.h>
Looks right.
Reviewed-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
--
Christoph Böhmwalder
LINBIT | Keeping the Digital World Running
DRBD HA — Disaster Recovery — Software defined Storage
next prev parent reply other threads:[~2023-06-05 9:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-01 15:16 [Drbd-dev] [PATCH] drbd: stop defining __KERNEL_SYSCALLS__ Christoph Hellwig
2023-06-05 9:29 ` Christoph Böhmwalder [this message]
2023-06-05 17:21 ` Jens Axboe
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=2135eb9d-b673-1a0d-6698-d73de60fa00d@linbit.com \
--to=christoph.boehmwalder@linbit.com \
--cc=axboe@kernel.dk \
--cc=drbd-dev@lists.linbit.com \
--cc=hch@lst.de \
--cc=lars.ellenberg@linbit.com \
--cc=linux-block@vger.kernel.org \
--cc=philipp.reisner@linbit.com \
/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