]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit876f666128f0d7267bcdc0d03153d109d532657b
tree22a180bdca008b9f7a1951c01f4732d4433e6ddd
parentfa400b58773e1788706a7c47f16dce1540ee4902
NFS: kmalloc() doesn't return an ERR_PTR()

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>
fs/nfs/idmap.c