summaryrefslogtreecommitdiff
path: root/include/linux/fs_uuid.h
blob: 3234135b570cb61d4630708a88d53c03d8306053 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <linux/device.h>

struct hd_struct;
struct block_device;

struct fs_info {
	char uuid[16];
	dev_t dev_t;
	char *last_mount;
	int last_mount_size;
};

int part_matches_fs_info(struct hd_struct *part, struct fs_info *seek);
dev_t blk_lookup_fs_info(struct fs_info *seek);
struct fs_info *fs_info_from_block_dev(struct block_device *bdev);
void free_fs_info(struct fs_info *fs_info);
int bdev_matches_key(struct block_device *bdev, const char *key);
struct block_device *next_bdev_of_type(struct block_device *last,
	const char *key);