Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15fdc40
)
libext2fs: Remove #include of <linux/types.h> from fiemap.h
author
Theodore Ts'o
<tytso@mit.edu>
Mon, 31 May 2010 22:50:50 +0000
(18:50 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 31 May 2010 22:50:50 +0000
(18:50 -0400)
The system header file can end up causing type conflicts, and
including kernel header files is always dodgy/dangerous (and this case
not needed).
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/fiemap.h
patch
|
blob
|
history
diff --git
a/lib/ext2fs/fiemap.h
b/lib/ext2fs/fiemap.h
index
934e22d
..
671decb
100644
(file)
--- a/
lib/ext2fs/fiemap.h
+++ b/
lib/ext2fs/fiemap.h
@@
-11,8
+11,6
@@
#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 */