Btrfs: enable discard support
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Oct 2009 13:24:59 +0000 (09:24 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 14 Oct 2009 14:32:49 +0000 (10:32 -0400)
commit0634857488ec6e28fa22920cd0bee3c2ac07ccfd
tree6cfa348aea76f39b658d3a36ab51807a4ac7bcf7
parente244a0aeb6a599c19a7c802cda6e2d67c847b154
Btrfs: enable discard support

The discard support code in btrfs currently is guarded by ifdefs for
BIO_RW_DISCARD, which is never defines as it's the name of an enum
memeber.  Just remove the useless ifdefs to actually enable the code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c