summaryrefslogtreecommitdiff
path: root/fs/btrfs/defrag.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-12-12 08:12:43 +0100
committerDavid Sterba <dsterba@suse.com>2023-02-13 17:50:34 +0100
commit36d4556745fe60e0e3c8d9933c2610b1c641b2f0 (patch)
tree56724c3097374d139b177b2158a466ba284f17e6 /fs/btrfs/defrag.c
parent235e1c7b872f9cf16e8a3e6050a05774b8763c58 (diff)
downloadlinux-stable-36d4556745fe60e0e3c8d9933c2610b1c641b2f0.tar.gz
btrfs: remove the wait argument to btrfs_start_ordered_extent
Given that wait is always set to 1, so remove the argument. Last use of wait with 0 was in 0c304304feab ("Btrfs: remove csum_bytes_left"). Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/defrag.c')
-rw-r--r--fs/btrfs/defrag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/defrag.c b/fs/btrfs/defrag.c
index 2737af7e2780..8065341d831a 100644
--- a/fs/btrfs/defrag.c
+++ b/fs/btrfs/defrag.c
@@ -765,7 +765,7 @@ again:
break;
unlock_page(page);
- btrfs_start_ordered_extent(ordered, 1);
+ btrfs_start_ordered_extent(ordered);
btrfs_put_ordered_extent(ordered);
lock_page(page);
/*