NFS: kmalloc() doesn't return an ERR_PTR()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 14 May 2012 19:45:28 +0000 (22:45 +0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 15 May 2012 00:44:01 +0000 (17:44 -0700)
Obviously we should check for NULL here instead of IS_ERR().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable@vger.kernel.org [3.4]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found