ext4: use IS_ERR() to check for errors in ext4_error_file
commitf9a62d090cf47fae2fe6f6bd8eb9f24482573fd8
authorDan Carpenter <error27@gmail.com>
Mon, 10 Jan 2011 17:10:50 +0000 (10 12:10 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2011 17:10:50 +0000 (10 12:10 -0500)
tree018b35b669705055963d09c7e2a07c90cc36ade5
parent13195184a8bc119dbd2f905db325a453047971cb
ext4: use IS_ERR() to check for errors in ext4_error_file

d_path() returns an ERR_PTR and it doesn't return NULL.  This is in
ext4_error_file() and no one actually calls ext4_error_file().

Signed-off-by: Dan Carpenter <error27@gmail.com>
fs/ext4/super.c