]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf4a45fa0f31f4520ea7a6102a805b9cf86e806d8
tree8ed8b6320e8c8fa288f94f1b31f3a6e7ed0385bb
parent486eeeafd621156227a3a587f3d40f51506ecf9c
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