From: Andrew Morton Cc: Guillaume Chazarain Cc: Steven Whitehouse Signed-off-by: Andrew Morton --- include/linux/pagemap.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN include/linux/pagemap.h~factor-outstanding-i-o-error-handling-tidy include/linux/pagemap.h --- a/include/linux/pagemap.h~factor-outstanding-i-o-error-handling-tidy +++ a/include/linux/pagemap.h @@ -11,6 +11,7 @@ #include #include #include +#include /* * Bits in mapping->flags. The lower __GFP_BITS_SHIFT bits are the page @@ -19,7 +20,7 @@ #define AS_EIO (__GFP_BITS_SHIFT + 0) /* IO error on async write */ #define AS_ENOSPC (__GFP_BITS_SHIFT + 1) /* ENOSPC on async write */ -static inline void mapping_set_error(struct address_space * mapping, int error) +static inline void mapping_set_error(struct address_space *mapping, int error) { if (error) { if (error == -ENOSPC) _