From: Eric Biggers Date: Sat, 4 Jan 2020 20:59:49 +0000 (-0800) Subject: fs/direct-io.c: include fs/internal.h for missing prototype X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b16155a0b01ae999add72b2ad2791b9c66285880;p=openwrt%2Fstaging%2Fblogic.git fs/direct-io.c: include fs/internal.h for missing prototype Include fs/internal.h to address the following 'sparse' warning: fs/direct-io.c:591:5: warning: symbol 'sb_init_dio_done_wq' was not declared. Should it be static? Link: http://lkml.kernel.org/r/20191209234544.128302-1-ebiggers@kernel.org Signed-off-by: Eric Biggers Reviewed-by: Jan Kara Cc: Alexander Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/direct-io.c b/fs/direct-io.c index 0ec4f270139f..00b4d15bb811 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -39,6 +39,8 @@ #include #include +#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