| commit | c780682d113ef97164359897f4463585b4c27524 | [log] [tgz] |
|---|---|---|
| author | Dan Carpenter <dan.carpenter@oracle.com> | Mon May 14 22:45:28 2012 +0300 |
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jun 10 00:36:09 2012 +0900 |
| tree | 3a8e1278191eb864849c8fbce606e7ca2d830af4 | |
| parent | 2b06dfb55b78e57734a696324ce7d593b1c084be [diff] |
NFS: kmalloc() doesn't return an ERR_PTR() commit 5abc03cd919535c61b813f2319cb38326a41e810 upstream. Obviously we should check for NULL here instead of IS_ERR(). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>