well a change in the struct ext3_dir_entry_2 like <br>
<br>
++ change in the structure<br>
<br>
struct ext33_dir_entry_2 {<br>
<br>
++ <span style="background-color: rgb(255, 255, 51);">union {</span><br>
__le32 inode;<br>
++ <span style="background-color: rgb(255, 255, 51);">struct ext33_inode *emb_i;</span><br>
<br>
++ <span style="background-color: rgb(255, 255, 51);"> } u_emb_i; </span><br>
<br>
__le16
rec_len; /* Directory entry length
*/<br>
__u8
name_len; /* Name length */<br>
__u8 file_type;<br>
char name[EXT3_NAME_LEN]; /* File name */<br>
<br>
}*de;<br>
<br>
initially the default access was through the *de which referenced only de->inode but the change is as follows<br>
<br>
<span style="background-color: rgb(255, 255, 102);">well we have
reflected the changes in the ext3 filesystem source code using
the above structure (but only used the u_emb_i.inode)</span><br>
<br>
we just wanted to know is ther any change to be done in EXT3_DIR_REC_LEN macro<br>
<br>
<span style="background-color: rgb(255, 255, 51);">#define EXT3_DIR_PAD 4</span><br style="background-color: rgb(255, 255, 51);">
<span style="background-color: rgb(255, 255, 51);">#define EXT3_DIR_ROUND (EXT3_DIR_PAD - 1)</span><br style="background-color: rgb(255, 255, 51);">
<span style="background-color: rgb(255, 255, 51);">#define EXT3_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT3_DIR_ROUND) & \</span><br style="background-color: rgb(255, 255, 51);">
<span style="background-color: rgb(255, 255, 51);"> ~EXT3_DIR_ROUND)</span><br style="background-color: rgb(255, 255, 51);">
<span style="background-color: rgb(255, 255, 51);"></span><br>