android_kernel_samsung_sm8650/fs/ntfs3
Dan Carpenter 2926e42970
fs/ntfs3: fix an error code in ntfs_get_acl_ex()
The ntfs_get_ea() function returns negative error codes or on success
it returns the length.  In the original code a zero length return was
treated as -ENODATA and results in a NULL return.  But it should be
treated as an invalid length and result in an PTR_ERR(-EINVAL) return.

Fixes: be71b5cba2 ("fs/ntfs3: Add attrib operations")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
2021-08-27 17:05:13 +03:00
..
lib fs/ntfs3: Fix various spelling mistakes 2021-08-27 17:04:45 +03:00
attrib.c fs/ntfs3: Do not use driver own alloc wrappers 2021-08-27 17:05:12 +03:00
attrlist.c fs/ntfs3: Do not use driver own alloc wrappers 2021-08-27 17:05:12 +03:00
bitfunc.c fs/ntfs3: Add bitmap 2021-08-13 07:55:41 -07:00
bitmap.c fs/ntfs3: Use kcalloc/kmalloc_array over kzalloc/kmalloc 2021-08-27 17:05:13 +03:00
debug.h fs/ntfs3: Do not use driver own alloc wrappers 2021-08-27 17:05:12 +03:00
dir.c fs/ntfs3: Add file operations and implementation 2021-08-13 07:55:49 -07:00
file.c fs/ntfs3: Use kcalloc/kmalloc_array over kzalloc/kmalloc 2021-08-27 17:05:13 +03:00
frecord.c fs/ntfs3: Use kcalloc/kmalloc_array over kzalloc/kmalloc 2021-08-27 17:05:13 +03:00
fslog.c fs/ntfs3: add checks for allocation failure 2021-08-27 17:05:13 +03:00
fsntfs.c fs/ntfs3: Do not use driver own alloc wrappers 2021-08-27 17:05:12 +03:00
index.c fs/ntfs3: Do not use driver own alloc wrappers 2021-08-27 17:05:12 +03:00
inode.c fs/ntfs3: Do not use driver own alloc wrappers 2021-08-27 17:05:12 +03:00
Kconfig fs/ntfs3: Add Kconfig, Makefile and doc 2021-08-13 07:56:37 -07:00
lznt.c fs/ntfs3: Do not use driver own alloc wrappers 2021-08-27 17:05:12 +03:00
Makefile fs/ntfs3: Add Kconfig, Makefile and doc 2021-08-13 07:56:37 -07:00
namei.c fs/ntfs3: Use kernel ALIGN macros over driver specific 2021-08-27 17:05:12 +03:00
ntfs_fs.h fs/ntfs3: Do not use driver own alloc wrappers 2021-08-27 17:05:12 +03:00
ntfs.h fs/ntfs3: Use kernel ALIGN macros over driver specific 2021-08-27 17:05:12 +03:00
record.c fs/ntfs3: Do not use driver own alloc wrappers 2021-08-27 17:05:12 +03:00
run.c fs/ntfs3: Do not use driver own alloc wrappers 2021-08-27 17:05:12 +03:00
super.c fs/ntfs3: Do not use driver own alloc wrappers 2021-08-27 17:05:12 +03:00
upcase.c fs/ntfs3: Fix various spelling mistakes 2021-08-27 17:04:45 +03:00
xattr.c fs/ntfs3: fix an error code in ntfs_get_acl_ex() 2021-08-27 17:05:13 +03:00