X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fntfs%2Finode.h;h=465bef639c83485075942b3930e200a1a565bd37;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=59af63e6c1e95b5a1bc116f10ab293d7cd3184d9;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/fs/ntfs/inode.h b/fs/ntfs/inode.h index 59af63e6c..465bef639 100644 --- a/fs/ntfs/inode.h +++ b/fs/ntfs/inode.h @@ -90,16 +90,18 @@ struct _ntfs_inode { u8 *attr_list; /* Attribute list value itself. */ run_list attr_list_rl; /* Run list for the attribute list value. */ union { - struct { /* It is a directory or $MFT. */ + struct { /* It is a directory, $MFT, or an index inode. */ struct inode *bmp_ino; /* Attribute inode for the - directory index $BITMAP. */ + index $BITMAP. */ u32 block_size; /* Size of an index block. */ u32 vcn_size; /* Size of a vcn in this - directory index. */ + index. */ + COLLATION_RULES collation_rule; /* The collation rule + for the index. */ u8 block_size_bits; /* Log2 of the above. */ u8 vcn_size_bits; /* Log2 of the above. */ } index; - struct { /* It is a compressed file or fake inode. */ + struct { /* It is a compressed file or an attribute inode. */ s64 size; /* Copy of compressed_size from $DATA. */ u32 block_size; /* Size of a compression block @@ -260,6 +262,8 @@ extern int ntfs_test_inode(struct inode *vi, ntfs_attr *na); extern struct inode *ntfs_iget(struct super_block *sb, unsigned long mft_no); extern struct inode *ntfs_attr_iget(struct inode *base_vi, ATTR_TYPES type, ntfschar *name, u32 name_len); +extern struct inode *ntfs_index_iget(struct inode *base_vi, ntfschar *name, + u32 name_len); extern struct inode *ntfs_alloc_big_inode(struct super_block *sb); extern void ntfs_destroy_big_inode(struct inode *inode);