diff options
author | Rob Landley | 2006-05-03 21:58:45 +0000 |
---|---|---|
committer | Rob Landley | 2006-05-03 21:58:45 +0000 |
commit | 7c94bed2345008b4b62014a846488319a7af0727 (patch) | |
tree | 4345ba7255410654b6c8c4d7f51122643f6d9584 /e2fsprogs/ext2fs/ext2_ext_attr.h | |
parent | db2ab89b7c66c97e7a849a4a25baca10de4576dc (diff) | |
download | busybox-7c94bed2345008b4b62014a846488319a7af0727.zip busybox-7c94bed2345008b4b62014a846488319a7af0727.tar.gz |
Big dead code elimination pass from Garrett.
Diffstat (limited to 'e2fsprogs/ext2fs/ext2_ext_attr.h')
-rw-r--r-- | e2fsprogs/ext2fs/ext2_ext_attr.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/e2fsprogs/ext2fs/ext2_ext_attr.h b/e2fsprogs/ext2fs/ext2_ext_attr.h index 23444c5..79f23ee 100644 --- a/e2fsprogs/ext2fs/ext2_ext_attr.h +++ b/e2fsprogs/ext2fs/ext2_ext_attr.h @@ -28,9 +28,6 @@ struct ext2_ext_attr_entry { __u32 e_value_block; /* disk block attribute is stored on (n/i) */ __u32 e_value_size; /* size of attribute value */ __u32 e_hash; /* hash value of name and value */ -#if 0 - char e_name[0]; /* attribute name */ -#endif }; #define EXT2_EXT_ATTR_PAD_BITS 2 @@ -53,17 +50,3 @@ struct ext2_ext_attr_entry { #define EXT2_XATTR_SIZE(size) \ (((size) + EXT2_EXT_ATTR_ROUND) & ~EXT2_EXT_ATTR_ROUND) -#ifdef __KERNEL__ -# ifdef CONFIG_EXT2_FS_EXT_ATTR -extern int ext2_get_ext_attr(struct inode *, const char *, char *, size_t, int); -extern int ext2_set_ext_attr(struct inode *, const char *, char *, size_t, int); -extern void ext2_ext_attr_free_inode(struct inode *inode); -extern void ext2_ext_attr_put_super(struct super_block *sb); -extern int ext2_ext_attr_init(void); -extern void ext2_ext_attr_done(void); -# else -# define ext2_get_ext_attr NULL -# define ext2_set_ext_attr NULL -# endif -#endif /* __KERNEL__ */ - |