]> www.infradead.org Git - users/dwmw2/linux.git/commit
NFS: remove unneeded check in decode_devicenotify_args()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Tue, 15 Feb 2022 10:17:04 +0000 (13:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:40:27 +0000 (14:40 +0200)
commit942f68bf2950b4057804eff1c636bc3f6c7625d4
treee0897fd3120ac984d59ac7bb6267f2c5db54c111
parente025c66387204945b2f2f9fbc3a91095cc6da3a2
NFS: remove unneeded check in decode_devicenotify_args()

[ Upstream commit cb8fac6d2727f79f211e745b16c9abbf4d8be652 ]

[You don't often get email from khoroshilov@ispras.ru. Learn why this is important at http://aka.ms/LearnAboutSenderIdentification.]

Overflow check in not needed anymore after we switch to kmalloc_array().

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Fixes: a4f743a6bb20 ("NFSv4.1: Convert open-coded array allocation calls to kmalloc_array()")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/callback_xdr.c