diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-11-19 21:17:22 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-11-19 21:17:22 -0500 |
commit | 15916de835a683bd8133a0d1ac0c982b795ab4ff (patch) | |
tree | 20603c2e0cade00d2e40a3b5390f5def36a02711 /fs/btrfs/volumes.h | |
parent | ae20a6afec1cf21919d97303f2d8b737eac5acc7 (diff) |
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 1f6f25a5787f..9b41e4d3984d 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h | |||
@@ -42,6 +42,9 @@ struct btrfs_device { | |||
42 | 42 | ||
43 | struct block_device *bdev; | 43 | struct block_device *bdev; |
44 | 44 | ||
45 | /* the mode sent to open_bdev_exclusive */ | ||
46 | fmode_t mode; | ||
47 | |||
45 | char *name; | 48 | char *name; |
46 | 49 | ||
47 | /* the internal btrfs device id */ | 50 | /* the internal btrfs device id */ |