From: Wei Yongjun Date: Fri, 21 Sep 2012 04:27:41 +0000 (+0800) Subject: NFS: fix the return value check by using IS_ERR X-Git-Tag: v3.7-rc1~58^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8d920c58ddb45126e1b306854f6e34b88446baf;p=pandora-kernel.git NFS: fix the return value check by using IS_ERR In case of error, the function rpcauth_create() returns ERR_PTR() and never returns NULL pointer. The NULL test in the return value check should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed