Whamcloud - gitweb
tune2fs: Improve the error messages for tune2fs -I
authorTheodore Ts'o <tytso@mit.edu>
Sun, 27 Jul 2008 20:00:48 +0000 (16:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 27 Jul 2008 20:00:48 +0000 (16:00 -0400)
commitd887f88d220317aa05e6007be9eb19a3b654ece2
treea468f6c1faf2a7807310cc1d2a71d5438978fb3c
parent7087bbecceba43248953b57a46a6a8be700ee9c7
tune2fs: Improve the error messages for tune2fs -I

If the current inode size is less than or equal to the requested inode
size, either explain that shrinking the inode size is not supported,
or that the inode is already the requested size.  Also, open the
filesystem provisionally first to do the inode size check and don't
setup up the undo log until we know that we're actually going to
perform the inode resizing operation.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/tune2fs.c