diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-18 10:31:42 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-04-18 10:31:42 -0400 |
commit | d25165e95c5c7d8f08f9abd974f706ae5ef25201 (patch) | |
tree | 22975f34163588d5e7cc2b944f98395d6032456b /ctree.h | |
parent | 1f81c1b6fcc17d6609ba0327aca7cedd967c6731 (diff) |
Use device uuids when scanning devices
Diffstat (limited to 'ctree.h')
-rw-r--r-- | ctree.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -745,6 +745,11 @@ static inline struct btrfs_stripe *btrfs_stripe_nr(struct btrfs_chunk *c, return (struct btrfs_stripe *)offset; } +static inline char *btrfs_stripe_dev_uuid_nr(struct btrfs_chunk *c, int nr) +{ + return btrfs_stripe_dev_uuid(btrfs_stripe_nr(c, nr)); +} + static inline u64 btrfs_stripe_offset_nr(struct extent_buffer *eb, struct btrfs_chunk *c, int nr) { |