linux-stable/fs/ntfs3
Konstantin Komarov cceef44b34 fs/ntfs3: Use variable length array instead of fixed size
[ Upstream commit 1997cdc3e7 ]

Should fix smatch warning:
	ntfs_set_label() error: __builtin_memcpy() 'uni->name' too small (20 vs 256)

Fixes: 4534a70b70 ("fs/ntfs3: Add headers and misc files")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202401091421.3RJ24Mn3-lkp@intel.com/
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:39:29 +02:00
..
lib fs/ntfs3: Add missing header and guards to lib/ headers 2021-09-13 19:41:44 +03:00
attrib.c fs/ntfs3: Use i_size_read and i_size_write 2024-01-29 10:48:33 +03:00
attrlist.c fs/ntfs3: Use kvfree to free memory allocated by kvmalloc 2024-01-16 11:31:56 +03:00
bitfunc.c fs/ntfs3: Add ntfs_bitmap_weight_le function and refactoring 2022-11-14 19:50:42 +03:00
bitmap.c fs/ntfs3: Use kvfree to free memory allocated by kvmalloc 2024-01-16 11:31:56 +03:00
debug.h fs/ntfs3. Add forward declarations for structs to debug.h 2021-09-13 19:41:43 +03:00
dir.c fs/ntfs3: Break dir enumeration if directory contents error 2024-05-30 09:44:02 +02:00
file.c ntfs3: add legacy ntfs file operations 2024-04-23 09:39:07 +02:00
frecord.c fs/ntfs3: fix build without CONFIG_NTFS3_LZX_XPRESS 2024-02-26 09:32:23 -08:00
fslog.c fs/ntfs3: Use 64 bit variable to avoid 32 bit overflow 2024-06-12 11:39:29 +02:00
fsntfs.c fs/ntfs3: Prevent generic message "attempt to access beyond end of device" 2024-01-29 10:48:33 +03:00
index.c fs/ntfs3: Fix case when index is reused during tree transformation 2024-05-30 09:44:02 +02:00
inode.c fs/ntfs3: Check 'folio' pointer for NULL 2024-06-12 11:39:29 +02:00
Kconfig ntfs3: serve as alias for the legacy ntfs driver 2024-04-16 10:45:26 +02:00
lznt.c fs/ntfs3: Code formatting 2023-07-03 00:21:27 +04:00
Makefile
namei.c vfs-6.9.misc 2024-03-11 09:38:17 -07:00
ntfs.h fs/ntfs3: Use variable length array instead of fixed size 2024-06-12 11:39:29 +02:00
ntfs_fs.h ntfs3: add legacy ntfs file operations 2024-04-23 09:39:07 +02:00
record.c fs/ntfs3: Taking DOS names into account during link counting 2024-05-30 09:44:02 +02:00
run.c fs/ntfs3: Code formatting 2023-07-03 00:21:27 +04:00
super.c fs/ntfs3: Remove max link count info display during driver init 2024-05-30 09:44:02 +02:00
upcase.c fs/ntfs3: Add option "nocase" 2022-09-30 17:39:47 +03:00
xattr.c fs/ntfs3: Fix oob in ntfs_listxattr 2024-01-29 12:05:08 +03:00