ext4: don't dereference null pointer when make_indexed_dir() fails
authorAllison Henderson <achender@linux.vnet.ibm.com>
Sun, 15 May 2011 04:19:41 +0000 (00:19 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 15 May 2011 04:19:41 +0000 (00:19 -0400)
commit6976a6f2acde2b0443cd64f1d08af90630e4ce81
tree754e33f280a83ac2f843f2dcafd1b2fbffdd92ca
parent44183d4231a52a797beb477f962e1d361e31299d
ext4: don't dereference null pointer when make_indexed_dir() fails

Fix for a null pointer bug found while running punch hole tests

Signed-off-by: Allison Henderson <achender@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/namei.c