|
|
| version 1.3, 2006/03/23 02:48:21 | version 1.4, 2007/09/11 06:12:43 |
|---|---|
| Line 71 xfs_fileid_length(int hasparent, int is6 | Line 71 xfs_fileid_length(int hasparent, int is6 |
| /* | /* |
| * Decode encoded inode information (either for the inode itself | * Decode encoded inode information (either for the inode itself |
| * or the parent) into an xfs_fid2_t structure. Advances and | * or the parent) into an xfs_fid_t structure. Advances and |
| * returns the new data pointer | * returns the new data pointer |
| */ | */ |
| static inline __u32 * | static inline __u32 * |
| xfs_fileid_decode_fid2(__u32 *p, xfs_fid2_t *fid, int is64) | xfs_fileid_decode_fid2(__u32 *p, xfs_fid_t *fid, int is64) |
| { | { |
| fid->fid_len = sizeof(xfs_fid2_t) - sizeof(fid->fid_len); | fid->fid_len = sizeof(xfs_fid_t) - sizeof(fid->fid_len); |
| fid->fid_pad = 0; | fid->fid_pad = 0; |
| fid->fid_ino = *p++; | fid->fid_ino = *p++; |
| #if XFS_BIG_INUMS | #if XFS_BIG_INUMS |