]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Wed, 20 Apr 2022 07:06:37 +0000 (09:06 +0200)
commite893ca9a5d1738a36d3a54c05d283fecd91fcd65
tree88f376ec1210b3034f10accf442a180b75c90fd9
parent4fa07fe3611e1036b1ed86cbd112aed4628df431
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