diff options
author | Jan Kara <jack@suse.cz> | 2007-10-21 23:41:40 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-22 15:13:18 (GMT) |
commit | 89910cccb8fec0c1140d33a743e72a712efd4f05 (patch) | |
tree | 8165b7cf7039d02b2276fbb3e2aba0e1df7a2ca8 /fs/befs/btree.c | |
parent | 321bcf92163038e2b96fd3bf9bc29f755c81d9ef (diff) | |
download | linux-fsl-qoriq-89910cccb8fec0c1140d33a743e72a712efd4f05.tar.xz |
ext2: 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 length. So we store 0xffff instead and
convert the value when read from / written to disk.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/befs/btree.c')
0 files changed, 0 insertions, 0 deletions