From: Eric Whitney Date: Wed, 1 Oct 2014 12:36:36 +0000 (-0400) Subject: mke2fs: clarify inline data inode size error message X-Git-Tag: v1.43-WIP-2015-05-18~161 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ae83d6593d9410873ffa0a8ecca9ee38cd816b5;p=thirdparty%2Fe2fsprogs.git mke2fs: clarify inline data inode size error message The existing error message can be made more helpful by more clearly implying the attempt to make a file system with undersized inodes is failing and suggesting a corrective action. Signed-off-by: Eric Whitney Signed-off-by: Theodore Ts'o --- diff --git a/misc/mke2fs.c b/misc/mke2fs.c index bf4118e34..a7bd35a08 100644 --- a/misc/mke2fs.c +++ b/misc/mke2fs.c @@ -2360,7 +2360,8 @@ profile_error: EXT4_FEATURE_INCOMPAT_INLINE_DATA) && fs_param.s_inode_size == EXT2_GOOD_OLD_INODE_SIZE) { com_err(program_name, 0, - _("inode size is %d, inline data is useless"), + _("%d byte inodes are too small for inline data; " + "specify larger size"), fs_param.s_inode_size); exit(1); }