ext2/ext3: speed up file creates by optimizing rec_len functions