Re: [PATCH] ext2fs: make sure we have at least EXT2_FIRST_INO + 1 inodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jul 20, 2023, at 6:50 AM, Li Dongyang <dongyangli@xxxxxxx> wrote:
> 
> When creating a small fs with 100 1k blocks, mke2fs fails with:
> 
> Creating filesystem with 100 1k blocks and 8 inodes
> 
> Allocating group tables: done
> Writing inode tables: done
> ext2fs_mkdir: Could not allocate inode in ext2 filesystem while creating /lost+found
> 
> Increase s_inodes_per_group with a step of 8 to make
> sure we have at least EXT2_FIRST_INO + 1 inodes.
> 
> Change-Id: Ib885735641dfa0ed9c6f6a4a1f9afec291673126
> Signed-off-by: Li Dongyang <dongyangli@xxxxxxx>

Reviewed-by: Andreas Dilger <adilger@xxxxxxxxx>


Cheers, Andreas





Attachment: signature.asc
Description: Message signed with OpenPGP


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux