Home
last modified time | relevance | path

Searched hist:"5 e86bdda41534e17621d5a071b294943cae4376e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ext4/
H A Dindirect.cdiff 5e86bdda41534e17621d5a071b294943cae4376e Sat Mar 23 10:56:01 CDT 2019 zhangyi (F) <yi.zhang@huawei.com> 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>