linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] fs/direct-io.c: include fs/internal.h for missing prototype
@ 2019-08-22 15:39 Eric Biggers
  0 siblings, 0 replies; only message in thread
From: Eric Biggers @ 2019-08-22 15:39 UTC (permalink / raw)
  To: Alexander Viro, linux-fsdevel

From: Eric Biggers <ebiggers@google.com>

Include fs/internal.h to address the following 'sparse' warning:

    fs/direct-io.c:622:5: warning: symbol 'sb_init_dio_done_wq' was not declared. Should it be static?

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 fs/direct-io.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/direct-io.c b/fs/direct-io.c
index fbe885d68035..227acbb88ac4 100644
--- a/fs/direct-io.c
+++ b/fs/direct-io.c
@@ -38,6 +38,8 @@
 #include <linux/atomic.h>
 #include <linux/prefetch.h>
 
+#include "internal.h"
+
 /*
  * How many user pages to map in one call to get_user_pages().  This determines
  * the size of a structure in the slab cache
-- 
2.22.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-22 15:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-22 15:39 [PATCH RESEND] fs/direct-io.c: include fs/internal.h for missing prototype Eric Biggers

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).