]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fs/ntfs3: Disable ATTR_LIST_ENTRY size check
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 21 Dec 2023 10:59:43 +0000 (13:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2024 12:34:54 +0000 (13:34 +0100)
commitadcc0ab3e79f83f6e5aa5b38ee2224c791509aac
tree91e5ea9fca53991fc20d40754b71eb2277653d04
parent947c3f3d31ea185ddc8e7f198873f17d36deb24c
fs/ntfs3: Disable ATTR_LIST_ENTRY size check

[ Upstream commit 4cdfb6e7bc9c80142d33bf1d4653a73fa678ba56 ]

The use of sizeof(struct ATTR_LIST_ENTRY) has been replaced with le_size(0)
due to alignment peculiarities on different platforms.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202312071005.g6YrbaIe-lkp@intel.com/
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ntfs3/attrlist.c
fs/ntfs3/ntfs.h