Whamcloud - gitweb
mke2fs: always warn if 128-byte inode and inline_data
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 12 May 2014 00:24:55 +0000 (20:24 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 12 May 2014 00:26:01 +0000 (20:26 -0400)
commitc6bab65122cd184520218c3f71be967a2cbd13c5
tree9b4b87a7728f97c50588576248b7d0e06541eeda
parentc61e00680f71094955419a3a7af7776f6146c296
mke2fs: always warn if 128-byte inode and inline_data

The combination of 128-byte inodes and inline_data is silly, since
there's no room in the inode table.  Unfortunately, if neither
mke2fs.conf nor the mkfs command line options specify an inode size,
the default inode size is set to 128 bytes (by libext2fs) and the
warning isn't printed.  Therefore, always do the check-and-warning.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/mke2fs.c