pNFS: Clean up open coded xdr string decoding
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 9 Nov 2020 21:06:15 +0000 (16:06 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:53 +0000 (14:05 -0500)
commit988998134996a397a47cf758627def5f20dc1e88
tree38367b38f786ac0080872f6bc3500dfe9be46682
parent4aceaaea5eccd32bc40c6c76b262489b2f53ca8d
pNFS: Clean up open coded xdr string decoding

Use the existing xdr_stream_decode_string_dup() to safely decode into
kmalloced strings.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pnfs_nfs.c