diff options
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__ */ - |