diff options
author | Tao Ma <boyu.mt@taobao.com> | 2011-05-18 13:29:57 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-05-18 13:29:57 -0400 |
commit | ed3ce80a52c4658f48ef8fc825bdedf8b3fcaa89 (patch) | |
tree | ebed56d680e8d79842b0c3077f11cbc237faa19f /fs/devpts | |
parent | 9b940f8e8c32456c8a6428fa4313a4bcca7b4fcb (diff) | |
download | op-kernel-dev-ed3ce80a52c4658f48ef8fc825bdedf8b3fcaa89.zip op-kernel-dev-ed3ce80a52c4658f48ef8fc825bdedf8b3fcaa89.tar.gz |
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 <boyu.mt@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/devpts')
0 files changed, 0 insertions, 0 deletions