diff options
author | Shijie Luo <luoshijie1@huawei.com> | 2021-03-12 01:50:51 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-25 09:04:17 +0100 |
commit | e8fa569465e5d45e322ce61759d06b4629384bda (patch) | |
tree | 97e3d82783143eeeee1dd9cfc77f975485e5540f /fs/ext4/ext4.h | |
parent | 6163a0662b794598f4853e62904a26f5f85ca9b4 (diff) | |
download | kernel_replicant_linux-e8fa569465e5d45e322ce61759d06b4629384bda.tar.gz kernel_replicant_linux-e8fa569465e5d45e322ce61759d06b4629384bda.tar.bz2 kernel_replicant_linux-e8fa569465e5d45e322ce61759d06b4629384bda.zip |
ext4: fix potential error in ext4_do_update_inode
commit 7d8bd3c76da1d94b85e6c9b7007e20e980bfcfe6 upstream.
If set_large_file = 1 and errors occur in ext4_handle_dirty_metadata(),
the error code will be overridden, go to out_brelse to avoid this
situation.
Signed-off-by: Shijie Luo <luoshijie1@huawei.com>
Link: https://lore.kernel.org/r/20210312065051.36314-1-luoshijie1@huawei.com
Cc: stable@kernel.org
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ext4/ext4.h')
0 files changed, 0 insertions, 0 deletions