From: Tao Ma Date: Wed, 18 May 2011 17:29:57 +0000 (-0400) Subject: ext4: don't warn about mnt_count if it has been disabled X-Git-Tag: v3.0-rc1~140^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed3ce80a52c4658f48ef8fc825bdedf8b3fcaa89;p=pandora-kernel.git ext4: don't warn about mnt_count if it has been disabled Currently, if we mkfs a new ext4 volume with s_max_mnt_count set to zero, and mount it for the first time, we will get the warning: maximal mount count reached, running e2fsck is recommended It is really misleading. So change the check so that it won't warn in that case. Signed-off-by: Tao Ma Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed