Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255138
b: refs/heads/master
c: 3ed8638
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig committed Jul 8, 2011
1 parent 5079610 commit f51e66c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0ba9cd84ef2af58645333a86f9c901684ab1fef6
refs/heads/master: 3ed8638f8867b4d0df1ec606231a087ff06c4a59
9 changes: 5 additions & 4 deletions trunk/fs/xfs/xfs_dir2_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,15 @@ typedef struct xfs_dir2_data_hdr {

/*
* Active entry in a data block. Aligned to 8 bytes.
* Tag appears as the last 2 bytes.
*
* After the variable length name field there is a 2 byte tag field, which
* can be accessed using xfs_dir2_data_entry_tag_p.
*/
typedef struct xfs_dir2_data_entry {
__be64 inumber; /* inode number */
__u8 namelen; /* name length */
__u8 name[1]; /* name bytes, no null */
/* variable offset */
__be16 tag; /* starting offset of us */
__u8 name[]; /* name bytes, no null */
/* __be16 tag; */ /* starting offset of us */
} xfs_dir2_data_entry_t;

/*
Expand Down

0 comments on commit f51e66c

Please sign in to comment.