]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSv4: Fix the alignment of page data in the getdeviceinfo reply
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 14 Nov 2020 02:42:16 +0000 (21:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:51:16 +0000 (11:51 +0100)
commita0842124422eb4e33d1d80cb05cb10875652ac96
tree036e9ecd09184d6e7f633b2fb32ee1206b19ec07
parent73892eef6d9ed18aedab7c805b749f361b4e8203
NFSv4: Fix the alignment of page data in the getdeviceinfo reply

[ Upstream commit 046e5ccb4198b990190e11fb52fd9cfd264402eb ]

We can fit the device_addr4 opaque data padding in the pages.

Fixes: cf500bac8fd4 ("SUNRPC: Introduce rpc_prepare_reply_pages()")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/nfs4xdr.c