[PATCH] include types.h in fiemap.h now that it's exported

From: Eric Sandeen
Date: Fri Apr 03 2009 - 15:03:41 EST


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@xxxxxxxxxx>
cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
--

Index: linux-2.6/include/linux/fiemap.h
===================================================================
--- linux-2.6.orig/include/linux/fiemap.h
+++ linux-2.6/include/linux/fiemap.h
@@ -11,6 +11,8 @@
#ifndef _LINUX_FIEMAP_H
#define _LINUX_FIEMAP_H

+#include <linux/types.h>
+
struct fiemap_extent {
__u64 fe_logical; /* logical offset in bytes for the start of
* the extent from the beginning of the file */

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/