]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: use IS_ERR() to check for errors in ext4_error_file
authorDan Carpenter <error27@gmail.com>
Mon, 10 Jan 2011 17:10:50 +0000 (12:10 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2011 17:10:50 +0000 (12:10 -0500)
commit680173d16ab58d04ee964b79aba2d13f68d46bf8
tree018b35b669705055963d09c7e2a07c90cc36ade5
parent42cb01642e8e1769404be16701efd4d3384df1b4
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