btrfs: remove unused btrfs_folio_start_writer_lock()
[ Upstream commit 8511074c ] This function is not really suitable to lock a folio, as it lacks the proper mapping checks, thus the locked folio may not even belong to btrfs. And due to the above reason, the last user inside lock_delalloc_folios() is already removed, and we can remove this function. Signed-off-by:Qu Wenruo <wqu@suse.com> Reviewed-by:
David Sterba <dsterba@suse.com> Signed-off-by:
David Sterba <dsterba@suse.com> Stable-dep-of: 8bf334be ("btrfs: fix double accounting race when extent_writepage_io() failed") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment