ext4: Fix NULL dereference in ext4_ext_migrate()'s error handling
authorDan Carpenter <error27@gmail.com>
Mon, 16 Feb 2009 01:02:19 +0000 (20:02 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 16 Feb 2009 01:02:19 +0000 (20:02 -0500)
commit090542641de833c6f756895fc2f139f046e298f9
tree8a3939e4e72e5107282a5343d2cb50c29e5077a6
parent2acf2c261b823d9d9ed954f348b97620297a36b5
ext4: Fix NULL dereference in ext4_ext_migrate()'s error handling

This was found through a code checker (http://repo.or.cz/w/smatch.git/).
It looks like you might be able to trigger the error by trying to migrate
a readonly file system.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/migrate.c