From: Darrick J. Wong Date: Mon, 29 Jul 2024 23:22:49 +0000 (-0700) Subject: xfs: split out handle management helpers a bit X-Git-Tag: v6.10.0~24^2~45 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63886a656da8cbae07db3e6ac75ef4fe6eccb45a;p=thirdparty%2Fxfsprogs-dev.git xfs: split out handle management helpers a bit Source kernel commit: b8c9d4253da43c02b287831f7e576568f24fbe58 Split out the functions that generate file/fs handles and map them back into dentries in preparation for the GETPARENTS ioctl next. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig --- diff --git a/libxfs/xfs_fs.h b/libxfs/xfs_fs.h index 53526fca..97384ab9 100644 --- a/libxfs/xfs_fs.h +++ b/libxfs/xfs_fs.h @@ -633,7 +633,9 @@ typedef struct xfs_fsop_attrmulti_handlereq { /* * per machine unique filesystem identifier types. */ -typedef struct { __u32 val[2]; } xfs_fsid_t; /* file system id type */ +typedef struct xfs_fsid { + __u32 val[2]; /* file system id type */ +} xfs_fsid_t; typedef struct xfs_fid { __u16 fid_len; /* length of remainder */