IB/ipath: Fix pointer-to-pointer thinko in ipath_fs.c
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 2 Dec 2008 04:59:07 +0000 (20:59 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 2 Dec 2008 04:59:07 +0000 (20:59 -0800)
commit64f22fa17c1a531e682ebc882566856ea5718495
tree29737ea55e7ddf7f00267b96c2d179a62dff4835
parent061e41fdb5047b1fb161e89664057835935ca1d2
IB/ipath: Fix pointer-to-pointer thinko in ipath_fs.c

The return from lookup_one_len() is assigned to *dentry, so that's
what we should be checking with IS_ERR().

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_fs.c