nfsd: fix using the correct variable for sizeof()
authorJakob Koschel <jakobkoschel@gmail.com>
Sat, 19 Mar 2022 20:27:04 +0000 (21:27 +0100)
committerChuck Lever <chuck.lever@oracle.com>
Sun, 20 Mar 2022 16:49:38 +0000 (12:49 -0400)
commit4fc5f5346592cdc91689455d83885b0af65d71b8
treef78a5aa2b22adb5dab5083d13175d72e284f15a9
parent4e1b04af4fe6679e63d1bc09f750424882ab701c
nfsd: fix using the correct variable for sizeof()

While the original code is valid, it is not the obvious choice for the
sizeof() call and in preparation to limit the scope of the list iterator
variable the sizeof should be changed to the size of the destination.

Signed-off-by: Jakob Koschel <jakobkoschel@gmail.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4layouts.c