IB/ipath: Calling PTR_ERR() on right variable in create_file()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 26 Jan 2012 06:15:29 +0000 (09:15 +0300)
committerRoland Dreier <roland@purestorage.com>
Fri, 27 Jan 2012 17:48:27 +0000 (09:48 -0800)
commitef5352875a12a0a45be8bca29fc218a94786d920
treebb1921c0f5d3c5af1fade401fd1743b86ce638d3
parentdcd6c92267155e70a94b3927bce681ce74b80d1f
IB/ipath: Calling PTR_ERR() on right variable in create_file()

"dentry" is a valid pointer.  "*dentry" was intended.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ipath/ipath_fs.c