blob: 4ce23d71724f64501abe081f0e105379b60c5e0e [file] [log] [blame]
Brad Bishop90ca7472019-08-20 09:15:15 -04001Make it work with xfsprogs 5.2.0.
2
3"xfs_fsop_geom_v1_t" has changed to "struct xfs_fsop_geom_v1"
4in xfsprogs since version 5.2.0.
5
6Upstream-Status: Pending
7
8Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
9---
10 common/fs.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/common/fs.c b/common/fs.c
14index 60cf0fd..2cc7031 100644
15--- a/common/fs.c
16+++ b/common/fs.c
17@@ -204,7 +204,7 @@ fs_mounted( char *typs, char *chrs, char *mnts, uuid_t *idp )
18 int
19 fs_getid( char *mnts, uuid_t *idb )
20 {
21- xfs_fsop_geom_v1_t geo;
22+ struct xfs_fsop_geom_v1 geo;
23 int fd;
24
25 fd = open( mnts, O_RDONLY );
26--
272.7.4
28