public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH] io_uring: use correct CONFIG_PROC_FS define
@ 2020-02-27 13:08 Tobias Klauser
  2020-02-27 13:56 ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Klauser @ 2020-02-27 13:08 UTC (permalink / raw)
  To: Jens Axboe; +Cc: io-uring

Commit 6f283fe2b1ed ("io_uring: define and set show_fdinfo only if
procfs is enabled") used CONFIG_PROCFS by mistake. Correct it.

Fixes: 6f283fe2b1ed ("io_uring: define and set show_fdinfo only if procfs is enabled")
Signed-off-by: Tobias Klauser <[email protected]>
---
 fs/io_uring.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/io_uring.c b/fs/io_uring.c
index bab973106566..05eea06f5421 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -6641,7 +6641,7 @@ SYSCALL_DEFINE6(io_uring_enter, unsigned int, fd, u32, to_submit,
 	return submitted ? submitted : ret;
 }
 
-#ifdef CONFIG_PROCFS
+#ifdef CONFIG_PROC_FS
 static int io_uring_show_cred(int id, void *p, void *data)
 {
 	const struct cred *cred = p;
@@ -6727,7 +6727,7 @@ static const struct file_operations io_uring_fops = {
 #endif
 	.poll		= io_uring_poll,
 	.fasync		= io_uring_fasync,
-#ifdef CONFIG_PROCFS
+#ifdef CONFIG_PROC_FS
 	.show_fdinfo	= io_uring_show_fdinfo,
 #endif
 };
-- 
2.25.0


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

* Re: [PATCH] io_uring: use correct CONFIG_PROC_FS define
  2020-02-27 13:08 [PATCH] io_uring: use correct CONFIG_PROC_FS define Tobias Klauser
@ 2020-02-27 13:56 ` Jens Axboe
  2020-02-27 13:58   ` Tobias Klauser
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2020-02-27 13:56 UTC (permalink / raw)
  To: Tobias Klauser; +Cc: io-uring

On 2/27/20 6:08 AM, Tobias Klauser wrote:
> Commit 6f283fe2b1ed ("io_uring: define and set show_fdinfo only if
> procfs is enabled") used CONFIG_PROCFS by mistake. Correct it.

Oops - I folded this into the original.

-- 
Jens Axboe


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

* Re: [PATCH] io_uring: use correct CONFIG_PROC_FS define
  2020-02-27 13:56 ` Jens Axboe
@ 2020-02-27 13:58   ` Tobias Klauser
  0 siblings, 0 replies; 3+ messages in thread
From: Tobias Klauser @ 2020-02-27 13:58 UTC (permalink / raw)
  To: Jens Axboe; +Cc: io-uring

On 2020-02-27 at 14:56:45 +0100, Jens Axboe <[email protected]> wrote:
> On 2/27/20 6:08 AM, Tobias Klauser wrote:
> > Commit 6f283fe2b1ed ("io_uring: define and set show_fdinfo only if
> > procfs is enabled") used CONFIG_PROCFS by mistake. Correct it.
> 
> Oops - I folded this into the original.

Great, thanks. And sorry for not checking more carefully before sending
the patch.

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

end of thread, other threads:[~2020-02-27 14:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-27 13:08 [PATCH] io_uring: use correct CONFIG_PROC_FS define Tobias Klauser
2020-02-27 13:56 ` Jens Axboe
2020-02-27 13:58   ` Tobias Klauser

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