From 5ae83d6593d9410873ffa0a8ecca9ee38cd816b5 Mon Sep 17 00:00:00 2001 From: Eric Whitney Date: Wed, 1 Oct 2014 08:36:36 -0400 Subject: [PATCH] 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 --- misc/mke2fs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/mke2fs.c b/misc/mke2fs.c index bf4118e..a7bd35a 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); } -- 1.8.3.1