ext4: using PTR_ERR() on the wrong variable in ext4_ext_migrate()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 20 Feb 2012 22:53:06 +0000 (17:53 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 20 Feb 2012 22:53:06 +0000 (17:53 -0500)
commita0cc910f15027fbd731e78f3437cc076eebc22e9
treeb59e587fa9238e174ef647ca0767b9d3656d8e0c
parent4fda400360e6c15b9dea4351f2ad85845cdfda7e
ext4: using PTR_ERR() on the wrong variable in ext4_ext_migrate()

"inode" is a valid pointer here.  "tmp_inode" was intended.

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