Patchwork [3/3] libext2fs: Remove obsolete redefinition of EXT2_FT_DIR

login
register
mail settings
Submitter Darren Hart
Date Jan. 4, 2013, 8:01 p.m.
Message ID <482b22be6370e473ba5a4af9a7bf9f267321ae49.1357329054.git.dvhart@infradead.org>
Download mbox | patch
Permalink /patch/209534/
State Accepted
Headers show

Comments

Darren Hart - Jan. 4, 2013, 8:01 p.m.
This was needed a decade or more ago, back when we included
ext2_fs.h from the kernel headers in /usr/include/linux.

Signed-off-by: Darren Hart <dvhart@infradead.org>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: "Andreas Dilger" <adilger@dilger.ca>
---
 lib/ext2fs/mkdir.c | 4 ----
 1 file changed, 4 deletions(-)

Patch

diff --git a/lib/ext2fs/mkdir.c b/lib/ext2fs/mkdir.c
index 4a85439..9d69f70 100644
--- a/lib/ext2fs/mkdir.c
+++ b/lib/ext2fs/mkdir.c
@@ -27,10 +27,6 @@ 
 #include "ext2_fs.h"
 #include "ext2fs.h"
 
-#ifndef EXT2_FT_DIR
-#define EXT2_FT_DIR		2
-#endif
-
 errcode_t ext2fs_mkdir(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t inum,
 		       const char *name)
 {