]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit012615c75c46bd517cc5cfb5966bde2106ffb1d7
tree38367b38f786ac0080872f6bc3500dfe9be46682
parenta2a8dfdd55e68f06152e274eac0d766ec83bdecb
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