Skip to content

Commit b16155a

Browse files
ebiggerstorvalds
authored andcommitted
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/[email protected] Signed-off-by: Eric Biggers <[email protected]> Reviewed-by: Jan Kara <[email protected]> Cc: Alexander Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent e0153fc commit b16155a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/direct-io.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
#include <linux/atomic.h>
4040
#include <linux/prefetch.h>
4141

42+
#include "internal.h"
43+
4244
/*
4345
* How many user pages to map in one call to get_user_pages(). This determines
4446
* the size of a structure in the slab cache

0 commit comments

Comments
 (0)