diff options
| author | Qu Wenruo <[email protected]> | 2024-09-02 04:27:08 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2024-09-10 14:51:22 +0000 |
| commit | 49a9907368a4633fe19c477159da7a3199c808ee (patch) | |
| tree | 7db746e8123a08a6452bd94d7f9ae7e0000573ee /rust/helpers/mutex.c | |
| parent | btrfs: BTRFS_PATH_AUTO_FREE in orphan.c (diff) | |
| download | kernel-49a9907368a4633fe19c477159da7a3199c808ee.tar.gz kernel-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 <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
