summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-04-03 20:03:48 -0400
committerDavid Sterba <dsterba@suse.com>2019-02-25 08:13:27 -0500
commit8bead258206f4d4f485ad55bc1e39d23bbfe2fdd (patch)
tree71316678ac95c2e957ce80502db8f527067c0672 /fs/btrfs/disk-io.c
parent300aa896e1199bcd0dfb61aae86356714e017355 (diff)
btrfs: open code now trivial btrfs_set_lock_blocking
btrfs_set_lock_blocking is now only a simple wrapper around btrfs_set_lock_blocking_write. The name does not bring any semantic value that could not be inferred from the new function so there's no point keeping it. Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 74a696d9cd68..4047867473e1 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1121,7 +1121,7 @@ void clean_tree_block(struct btrfs_fs_info *fs_info,
1121 -buf->len, 1121 -buf->len,
1122 fs_info->dirty_metadata_batch); 1122 fs_info->dirty_metadata_batch);
1123 /* ugh, clear_extent_buffer_dirty needs to lock the page */ 1123 /* ugh, clear_extent_buffer_dirty needs to lock the page */
1124 btrfs_set_lock_blocking(buf); 1124 btrfs_set_lock_blocking_write(buf);
1125 clear_extent_buffer_dirty(buf); 1125 clear_extent_buffer_dirty(buf);
1126 } 1126 }
1127 } 1127 }