]> git.baikalelectronics.ru Git - kernel.git/commit
NFSD: De-duplicate net_generic(nf->nf_net, nfsd_net_id)
authorChuck Lever <chuck.lever@oracle.com>
Tue, 28 Dec 2021 19:26:03 +0000 (14:26 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 8 Jan 2022 19:42:02 +0000 (14:42 -0500)
commit18e3e044e6435618e67a3f210b82f8c03ec79530
tree75b95266c146b97b21f65fecc391a2d338322c28
parentc1091c1b9a0d4b5c4ce37bc7203daee673d9ef75
NFSD: De-duplicate net_generic(nf->nf_net, nfsd_net_id)

Since this pointer is used repeatedly, move it to a stack variable.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/vfs.c