NFS - fix potential NULL pointer dereference v2
authorCyrill Gorcunov <gorcunov@gmail.com>
Thu, 17 Apr 2008 16:42:09 +0000 (20:42 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 Apr 2008 20:55:22 +0000 (16:55 -0400)
commit63649bd7080a6a50fabcb1935f4b7c4e64155066
tree84e398f5d3f191526dd511c112391befbd46dfda
parentcd019f7517206a74d8cdb64d5c82b1f76be608cc
NFS - fix potential NULL pointer dereference v2

There is possible NULL pointer dereference if kstr[n]dup failed.
So fix them for safety.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c