aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2019-03-21 10:08:08 +0000
committerAl Viro <[email protected]>2019-09-18 22:43:03 -0400
commitb54c64f7adeb241423cd46598f458b5486b0375e (patch)
tree2f7b2b8290293b90a34a344ae6b119fe6e237695 /lib/mpi/mpi-bit.c
parentdec90f61f125568088a6ada61832b366c1670e9f (diff)
hypfs: Fix error number left in struct pointer member
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 <[email protected]> cc: Martin Schwidefsky <[email protected]> cc: Heiko Carstens <[email protected]> cc: [email protected] Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions