nfs: testing for null instead of ERR_PTR()
authorDan Carpenter <error27@gmail.com>
Thu, 22 Apr 2010 19:35:56 +0000 (15:35 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 22 Apr 2010 19:35:56 +0000 (15:35 -0400)
commitcdd29ecfcb9554132cd94b82ae8b69ba37adb3b5
treec99d810b3346989b8dbd88c469aa5bd0c9871f5c
parent356e76b855bdbfd8d1c5e75bcf0c6bf0dfe83496
nfs: testing for null instead of ERR_PTR()

nfs_path() returns an ERR_PTR(), it doesn't return null.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c