]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit701a225ee4531d679118a1a854b7f81a2c4f6f17
tree6cfa348aea76f39b658d3a36ab51807a4ac7bcf7
parentb6c3a7a36f93cd61d3fcf4e038458f44e35d561b
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