diff options
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index ec43fa526d77..171ca30a3755 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -869,11 +869,7 @@ static noinline int remove_extent_backref(struct btrfs_trans_handle *trans, | |||
869 | static void btrfs_issue_discard(struct block_device *bdev, | 869 | static void btrfs_issue_discard(struct block_device *bdev, |
870 | u64 start, u64 len) | 870 | u64 start, u64 len) |
871 | { | 871 | { |
872 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 28) | ||
873 | blkdev_issue_discard(bdev, start >> 9, len >> 9, GFP_KERNEL); | 872 | blkdev_issue_discard(bdev, start >> 9, len >> 9, GFP_KERNEL); |
874 | #else | ||
875 | blkdev_issue_discard(bdev, start >> 9, len >> 9); | ||
876 | #endif | ||
877 | } | 873 | } |
878 | #endif | 874 | #endif |
879 | 875 | ||