]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
FIXUP: xfs: parse and validate hardware zone information
authorChristoph Hellwig <hch@lst.de>
Fri, 20 Dec 2024 03:49:36 +0000 (19:49 -0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 14 Apr 2025 05:25:38 +0000 (07:25 +0200)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
libxfs/Makefile
libxfs/xfs_zones.c

index f3daa598ca9721be2e3af0e88bd9bf093a6b2cc8..61c43529b532b6fa79056c357dbc8006c62eac2c 100644 (file)
@@ -71,7 +71,8 @@ HFILES = \
        xfs_shared.h \
        xfs_trans_resv.h \
        xfs_trans_space.h \
-       xfs_dir2_priv.h
+       xfs_dir2_priv.h \
+       xfs_zones.h
 
 CFILES = buf_mem.c \
        cache.c \
@@ -135,7 +136,8 @@ CFILES = buf_mem.c \
        xfs_trans_inode.c \
        xfs_trans_resv.c \
        xfs_trans_space.c \
-       xfs_types.c
+       xfs_types.c \
+       xfs_zones.c
 
 EXTRA_CFILES=\
        ioctl_c_dummy.c
index b022ed960eacda786f5cf3c15d0b6231c6554414..712c0fe9b0daa7281c84a0e31bb33a70afeab903 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright (c) 2023-2025 Christoph Hellwig.
  * Copyright (c) 2024-2025, Western Digital Corporation or its affiliates.
  */
+#include <linux/blkzoned.h>
+#include "libxfs_priv.h"
 #include "xfs.h"
 #include "xfs_fs.h"
 #include "xfs_shared.h"