nfs: testing the wrong variable
authorDan Carpenter <error27@gmail.com>
Thu, 28 Oct 2010 06:05:57 +0000 (08:05 +0200)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 28 Oct 2010 15:18:00 +0000 (11:18 -0400)
commit8f0d97b41523fb85a2d230f6794121e5834f0cf9
tree8ed8b6320e8c8fa288f94f1b31f3a6e7ed0385bb
parent015f0212d51d85bd281a831639a769b4a1a3307a
nfs: testing the wrong variable

The intent was to test "*desc" for allocation failures, but it tests
"desc" which is always a valid pointer here.

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