commit | a72d7f834e1afa08421938d7eb06bd8e56b0e58c | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Mon Jan 28 23:58:27 2008 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Jan 28 23:58:27 2008 -0500 |
tree | 21c6fbbf4187fa8ba56878ea2d5e576e123e1f95 | |
parent | afc7cbca5bfd556c3e12d3acefbee5ab0cbd4670 [diff] |
ext4: Avoid rec_len overflow with 64KB block size With 64KB blocksize, a directory entry can have size 64KB which does not fit into 16 bits we have for entry lenght. So we store 0xffff instead and convert value when read from / written to disk. The patch also converts some places to use ext4_next_entry() when we are changing them anyway. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Mingming Cao <cmm@us.ibm.com>