Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167591
b: refs/heads/master
c: 0634857
h: refs/heads/master
i:
  167589: f257516
  167587: c7cd307
  167583: f0519de
v: v3
  • Loading branch information
Christoph Hellwig authored and Chris Mason committed Oct 14, 2009
1 parent 80c7936 commit 5e478ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e244a0aeb6a599c19a7c802cda6e2d67c847b154
refs/heads/master: 0634857488ec6e28fa22920cd0bee3c2ac07ccfd
6 changes: 0 additions & 6 deletions trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1568,18 +1568,15 @@ static int remove_extent_backref(struct btrfs_trans_handle *trans,
return ret;
}

#ifdef BIO_RW_DISCARD
static void btrfs_issue_discard(struct block_device *bdev,
u64 start, u64 len)
{
blkdev_issue_discard(bdev, start >> 9, len >> 9, GFP_KERNEL);
}
#endif

static int btrfs_discard_extent(struct btrfs_root *root, u64 bytenr,
u64 num_bytes)
{
#ifdef BIO_RW_DISCARD
int ret;
u64 map_length = num_bytes;
struct btrfs_multi_bio *multi = NULL;
Expand All @@ -1606,9 +1603,6 @@ static int btrfs_discard_extent(struct btrfs_root *root, u64 bytenr,
}

return ret;
#else
return 0;
#endif
}

int btrfs_inc_extent_ref(struct btrfs_trans_handle *trans,
Expand Down

0 comments on commit 5e478ae

Please sign in to comment.