diff options
author | 2024-09-02 13:57:08 +0930 | |
---|---|---|
committer | 2024-09-10 16:51:22 +0200 | |
commit | 49a9907368a4633fe19c477159da7a3199c808ee (patch) | |
tree | 7db746e8123a08a6452bd94d7f9ae7e0000573ee /rust/helpers/build_bug.c | |
parent | btrfs: BTRFS_PATH_AUTO_FREE in orphan.c (diff) | |
download | wireguard-linux-49a9907368a4633fe19c477159da7a3199c808ee.tar.xz wireguard-linux-49a9907368a4633fe19c477159da7a3199c808ee.zip |
btrfs: merge btrfs_folio_unlock_writer() into btrfs_folio_end_writer_lock()
The function btrfs_folio_unlock_writer() is already calling
btrfs_folio_end_writer_lock() to do the heavy lifting work, the only
missing 0 writer check.
Thus there is no need to keep two different functions, move the 0 writer
check into btrfs_folio_end_writer_lock(), and remove
btrfs_folio_unlock_writer().
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions