summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-11-20 03:17:22 +0100
committerChris Mason <chris.mason@oracle.com>2008-11-20 03:17:22 +0100
commit15916de835a683bd8133a0d1ac0c982b795ab4ff (patch)
tree20603c2e0cade00d2e40a3b5390f5def36a02711 /fs/btrfs/volumes.h
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/... (diff)
downloadlinux-15916de835a683bd8133a0d1ac0c982b795ab4ff.tar.xz
linux-15916de835a683bd8133a0d1ac0c982b795ab4ff.zip
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.h3
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 {
struct block_device *bdev;
+ /* the mode sent to open_bdev_exclusive */
+ fmode_t mode;
+
char *name;
/* the internal btrfs device id */