android_kernel_samsung_univ.../fs/ext4
Eric Sandeen d684b70576 ext4: reset error code in ext4_find_entry in fallback
commit f39b3f45dbcb0343822cce31ea7636ad66e60bc2 upstream.

When ext4_find_entry() falls back to "searching the old fashioned
way" due to a corrupt dx dir, it needs to reset the error code
to NULL so that the nonstandard ERR_BAD_DX_DIR code isn't returned
to userspace.

https://bugzilla.kernel.org/show_bug.cgi?id=199947

Reported-by: Anatoly Trosinenko <anatoly.trosinenko@yandex.com>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-05 09:18:38 +02:00
..
acl.c
acl.h
balloc.c ext4: check for allocation block validity with block group locked 2018-08-06 16:24:40 +02:00
bitmap.c
block_validity.c
crypto_fname.c
crypto_key.c
crypto_policy.c
crypto.c
dir.c
ext4_crypto.h
ext4_extents.h
ext4_jbd2.c
ext4_jbd2.h
ext4.h
extents_status.c
extents_status.h
extents.c
file.c
fsync.c
hash.c
ialloc.c ext4: fix check to prevent initializing reserved inodes 2018-08-15 17:42:04 +02:00
indirect.c
inline.c
inode.c
ioctl.c
Kconfig
Makefile
mballoc.c ext4: fix spectre gadget in ext4_mb_regular_allocator() 2018-08-24 13:27:00 +02:00
mballoc.h
migrate.c
mmp.c
move_extent.c
namei.c ext4: reset error code in ext4_find_entry in fallback 2018-09-05 09:18:38 +02:00
page-io.c
readpage.c
resize.c
super.c ext4: fix check to prevent initializing reserved inodes 2018-08-15 17:42:04 +02:00
symlink.c
sysfs.c ext4: sysfs: print ext4_super_block fields as little-endian 2018-09-05 09:18:38 +02:00
truncate.h
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c ext4: check for NUL characters in extended attribute's name 2018-09-05 09:18:37 +02:00
xattr.h