diff options
author | Shijie Luo <luoshijie1@huawei.com> | 2021-03-12 01:50:51 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-03-21 00:14:08 -0400 |
commit | 7d8bd3c76da1d94b85e6c9b7007e20e980bfcfe6 (patch) | |
tree | 0cee9b98391bae8e7c9f5c94a13453258f58b122 /security | |
parent | 6b22489911b726eebbf169caee52fea52013fbdd (diff) |
ext4: fix potential error in ext4_do_update_inode
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions