diff options
author | zhangyi (F) <yi.zhang@huawei.com> | 2019-03-23 11:56:01 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-03-23 11:56:01 -0400 |
commit | 5e86bdda41534e17621d5a071b294943cae4376e (patch) | |
tree | 36a3872930d45be5f5efd22a5862e14862d55ee6 /drivers/dio | |
parent | 674a2b27234d1b7afcb0a9162e81b2e53aeef217 (diff) | |
download | linux-5e86bdda41534e17621d5a071b294943cae4376e.tar.bz2 |
ext4: cleanup bh release code in ext4_ind_remove_space()
Currently, we are releasing the indirect buffer where we are done with
it in ext4_ind_remove_space(), so we can see the brelse() and
BUFFER_TRACE() everywhere. It seems fragile and hard to read, and we
may probably forget to release the buffer some day. This patch cleans
up the code by putting of the code which releases the buffers to the
end of the function.
Signed-off-by: zhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions