Whamcloud - gitweb
tune2fs: handle bad blocks when resizing inodes
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 6 Aug 2009 06:12:31 +0000 (11:42 +0530)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 20 Aug 2009 17:13:20 +0000 (13:13 -0400)
commit154a5d7537c35959aa646ef8f18daed8c9f1a2be
tree0cb717a7f3430953bd0b3fab3b4c3dcaa1ff9d9e
parent91fac97938f0ad8c9f0e2c75feec689ca12105e3
tune2fs: handle bad blocks when resizing inodes

When increasing inode size if we find that the new block
that we needed to increase the inode table size is a bad
block we fail. This make sure we don't end up with a corrupt
file system when doing inode resize on a file system having
bad blocks.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/tune2fs.c