nfsd4: fix oops on secinfo_no_name result encoding
authorMi Jinlong <mijinlong@cn.fujitsu.com>
Mon, 27 Dec 2010 06:29:57 +0000 (14:29 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 29 Dec 2010 18:54:06 +0000 (11:54 -0700)
The secinfo_no_name code oopses on encoding with

BUG: unable to handle kernel NULL pointer dereference at 00000044
IP: [<e2bd239a>] nfsd4_encode_secinfo+0x1c/0x1c1 [nfsd]

We should implement a nfsd4_encode_secinfo_no_name() instead using
nfsd4_encode_secinfo().

Signed-off-by: Mi Jinlong <mijinlong@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found