android_kernel_samsung_a7y1.../arch
David Howells 9cd2a09998 hypfs: Fix error number left in struct pointer member
[ Upstream commit b54c64f7adeb241423cd46598f458b5486b0375e ]

In hypfs_fill_super(), if hypfs_create_update_file() fails,
sbi->update_file is left holding an error number.  This is passed to
hypfs_kill_super() which doesn't check for this.

Fix this by not setting sbi->update_value until after we've checked for
error.

Fixes: 24bbb1faf3f0 ("[PATCH] s390_hypfs filesystem")
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
cc: Heiko Carstens <heiko.carstens@de.ibm.com>
cc: linux-s390@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 07:55:11 +02:00
..
alpha
arc ARC: export "abort" for modules 2020-04-06 21:37:11 +02:00
arm ARM: 8898/1: mm: Don't treat faults reported from cache maintenance as writes 2020-04-07 07:43:32 +02:00
arm64 arm64: compat: Allow single-byte watchpoints on all addresses 2020-04-06 20:50:03 +02:00
avr32
blackfin
c6x
cris
frv
h8300 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux- 2020-04-06 14:21:05 +02:00
hexagon
ia64 ia64:unwind: fix double free for mod->arch.init_unw_table 2020-04-07 07:38:19 +02:00
m32r
m68k bug.h: work around GCC PR82365 in BUG() 2020-04-06 19:20:52 +02:00
metag
microblaze
mips MIPS: netlogic: xlr: Remove erroneous check in nlm_fmn_send() 2020-04-06 21:35:56 +02:00
mn10300
nios2
openrisc
parisc parisc: Fix kernel panic due invalid values in IAOQ0 or IAOQ1 2020-04-06 20:04:49 +02:00
powerpc powerpc/pseries: correctly track irq state in default idle 2020-04-07 07:43:17 +02:00
s390 hypfs: Fix error number left in struct pointer member 2020-04-07 07:55:11 +02:00
score
sh sh: kernel: hw_breakpoint: Fix missing break in switch statement 2020-04-06 20:39:52 +02:00
sparc bug.h: work around GCC PR82365 in BUG() 2020-04-06 19:20:52 +02:00
tile
um um: Silence lockdep complaint about mmap_sem 2020-04-06 20:06:20 +02:00
unicore32
x86 KVM: x86: Manually calculate reserved bits when loading PDPTRS 2020-04-07 07:40:10 +02:00
xtensa xtensa: fix return_address 2020-04-06 15:16:44 +02:00
Kconfig