]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: transaction: Cleanup unused TRANS_STATE_BLOCKED
authorQu Wenruo <wqu@suse.com>
Thu, 22 Aug 2019 07:25:00 +0000 (15:25 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 18 Nov 2019 11:46:50 +0000 (12:46 +0100)
commit5957ad23f4fce58c1d08bb1489759914b53400e9
treed468b79eafd39be540c842ce592a1d7d1d34dc39
parenta39d8f7eb5eb98f89f6a44a3df4e016e46eda97e
btrfs: transaction: Cleanup unused TRANS_STATE_BLOCKED

The state was introduced in commit c08d2ae09db2 ("Btrfs: make the state
of the transaction more readable"), then in commit eccb9f81c768
("btrfs: don't end the transaction for delayed refs in throttle") the
state is completely removed.

So we can just clean up the state since it's only compared but never
set.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/transaction.c
fs/btrfs/transaction.h