Skip to content

Commit

Permalink
fs/direct-io.c: include fs/internal.h for missing prototype
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ebiggers authored and torvalds committed Jan 4, 2020
1 parent e0153fc commit b16155a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/direct-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,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
Expand Down

0 comments on commit b16155a

Please sign in to comment.