浏览代码

include/linux/fiemap.h: include types.h now that it's exported

Include <linux/types.h> in fiemap.h.  Sam Ravnborg pointed out that this
was missing in this newly-exported header which uses the __u32 and __u64
types.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Eric Sandeen 16 年之前
父节点
当前提交
5dec8bfbdd
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/linux/fiemap.h

+ 2 - 0
include/linux/fiemap.h

@@ -11,6 +11,8 @@
 #ifndef _LINUX_FIEMAP_H
 #ifndef _LINUX_FIEMAP_H
 #define _LINUX_FIEMAP_H
 #define _LINUX_FIEMAP_H
 
 
+#include <linux/types.h>
+
 struct fiemap_extent {
 struct fiemap_extent {
 	__u64 fe_logical;  /* logical offset in bytes for the start of
 	__u64 fe_logical;  /* logical offset in bytes for the start of
 			    * the extent from the beginning of the file */
 			    * the extent from the beginning of the file */