ext4: prevent a fs with errors from being resized
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Wed, 27 Jul 2011 01:39:09 +0000 (21:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 27 Jul 2011 01:39:09 +0000 (21:39 -0400)
commitce723c31b58f54fb865036805475ee7a8c5dc173
treed84f2de76ce1acc4072ce512636d686046066ee6
parent8f82f840ec6ab873f520364d443ff6fa1b3f8e22
ext4: prevent a fs with errors from being resized

A filesystem with errors is not allowed to being resized, otherwise,
it is easy to destroy the filesystem.

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/resize.c