nfsd: create xdr_netobj_dup helper

Move some repeated code to a common helper.  No change in behavior.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
J. Bruce Fields 2019-06-19 14:30:33 -04:00
commit 6f4859b8a7
2 changed files with 11 additions and 7 deletions