fix bug of ext2_write().