diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-11-20 02:17:22 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-11-20 02:17:22 (GMT) |
commit | 15916de835a683bd8133a0d1ac0c982b795ab4ff (patch) | |
tree | 20603c2e0cade00d2e40a3b5390f5def36a02711 /fs/btrfs/volumes.h | |
parent | ae20a6afec1cf21919d97303f2d8b737eac5acc7 (diff) | |
download | linux-fsl-qoriq-15916de835a683bd8133a0d1ac0c982b795ab4ff.tar.xz |
Btrfs: Fixes for 2.6.28-rc API changes
* open/close_bdev_excl -> open/close_bdev_exclusive
* blkdev_issue_discard takes a GFP mask now
* Fix blkdev_issue_discard usage now that it is enabled
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r-- | fs/btrfs/volumes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index 1f6f25a..9b41e4d 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h @@ -42,6 +42,9 @@ struct btrfs_device { struct block_device *bdev; + /* the mode sent to open_bdev_exclusive */ + fmode_t mode; + char *name; /* the internal btrfs device id */ |