diff options
author | Christoph Hellwig <hch@lst.de> | 2008-12-02 06:36:09 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-12-02 06:36:09 -0500 |
commit | 97288f2c71e46965a2010baea10548fcb5f3af73 (patch) | |
tree | 6f84cd33ee12eb8c51cccf931671da1b149c4ba6 /fs/btrfs/volumes.h | |
parent | 6e430f94e508fee1aefd1dfec88da3c24ce64433 (diff) |
Btrfs: corret fmode_t annotations
Make sure to propagate fmode_t properly and use the right constants for
it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r-- | fs/btrfs/volumes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index 9b41e4d3984d..fcbdcb3ae13e 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h | |||
@@ -135,8 +135,8 @@ int btrfs_map_bio(struct btrfs_root *root, int rw, struct bio *bio, | |||
135 | int mirror_num, int async_submit); | 135 | int mirror_num, int async_submit); |
136 | int btrfs_read_super_device(struct btrfs_root *root, struct extent_buffer *buf); | 136 | int btrfs_read_super_device(struct btrfs_root *root, struct extent_buffer *buf); |
137 | int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, | 137 | int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, |
138 | int flags, void *holder); | 138 | fmode_t flags, void *holder); |
139 | int btrfs_scan_one_device(const char *path, int flags, void *holder, | 139 | int btrfs_scan_one_device(const char *path, fmode_t flags, void *holder, |
140 | struct btrfs_fs_devices **fs_devices_ret); | 140 | struct btrfs_fs_devices **fs_devices_ret); |
141 | int btrfs_close_devices(struct btrfs_fs_devices *fs_devices); | 141 | int btrfs_close_devices(struct btrfs_fs_devices *fs_devices); |
142 | int btrfs_close_extra_devices(struct btrfs_fs_devices *fs_devices); | 142 | int btrfs_close_extra_devices(struct btrfs_fs_devices *fs_devices); |