diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2012-09-14 02:58:07 -0600 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-04 09:39:57 -0400 |
commit | 6bbe3a9c805fcb8cd8d396dafd32078181a7cdd5 (patch) | |
tree | 46bd39cb7961d3c44e7e2c28f6aec6ec9684ac8d /fs/btrfs/extent-tree.c | |
parent | 2e90cf858fd2639eae2fb3f2173f7633cb15bf38 (diff) | |
download | op-kernel-dev-6bbe3a9c805fcb8cd8d396dafd32078181a7cdd5.zip op-kernel-dev-6bbe3a9c805fcb8cd8d396dafd32078181a7cdd5.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 27a6b3e..a3a902f 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, if (delalloc_bytes == 0) { if (trans) return; - btrfs_wait_ordered_extents(root, 0, 0); + btrfs_wait_ordered_extents(root, 0); return; } @@ -3748,7 +3748,7 @@ static void shrink_delalloc(struct btrfs_root *root, u64 to_reclaim, u64 orig, loops++; if (wait_ordered && !trans) { - btrfs_wait_ordered_extents(root, 0, 0); + btrfs_wait_ordered_extents(root, 0); } else { time_left = schedule_timeout_killable(1); if (time_left) |