]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nfs: use memcpy_and_pad in decode_fh
authorThorsten Blum <thorsten.blum@linux.dev>
Sun, 5 Apr 2026 10:32:14 +0000 (12:32 +0200)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 22 Apr 2026 12:53:23 +0000 (08:53 -0400)
commit43ea7036ee50b5368b1c361e8a3591aa0f1455d9
tree3ab7fdad1305542c10603cea650a0393b6a58488
parent8c787b286f39c7584440b97b92f87cbe934c13ff
nfs: use memcpy_and_pad in decode_fh

Use memcpy_and_pad() instead of memcpy() followed by memset() to
simplify decode_fh().

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/callback_xdr.c