aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2012-09-14 04:58:07 -0400
committerChris Mason <chris.mason@fusionio.com>2012-10-04 09:39:57 -0400
commit6bbe3a9c805fcb8cd8d396dafd32078181a7cdd5 (patch)
tree46bd39cb7961d3c44e7e2c28f6aec6ec9684ac8d /fs/btrfs/extent-tree.c
parent2e90cf858fd2639eae2fb3f2173f7633cb15bf38 (diff)
Btrfs: kill obsolete arguments in btrfs_wait_ordered_extents
nocow_only is now an obsolete argument. Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 27a6b3e6fa41..a3a902fdeb49 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -3722,7 +3722,7 @@ static void shrink_delalloc(struct btrfs_root *root, u64 to_reclaim, u64 orig,
3722 if (delalloc_bytes == 0) { 3722 if (delalloc_bytes == 0) {
3723 if (trans) 3723 if (trans)
3724 return; 3724 return;
3725 btrfs_wait_ordered_extents(root, 0, 0); 3725 btrfs_wait_ordered_extents(root, 0);
3726 return; 3726 return;
3727 } 3727 }
3728 3728
@@ -3748,7 +3748,7 @@ static void shrink_delalloc(struct btrfs_root *root, u64 to_reclaim, u64 orig,
3748 3748
3749 loops++; 3749 loops++;
3750 if (wait_ordered && !trans) { 3750 if (wait_ordered && !trans) {
3751 btrfs_wait_ordered_extents(root, 0, 0); 3751 btrfs_wait_ordered_extents(root, 0);
3752 } else { 3752 } else {
3753 time_left = schedule_timeout_killable(1); 3753 time_left = schedule_timeout_killable(1);
3754 if (time_left) 3754 if (time_left)