diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-04-22 09:47:55 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-04-23 07:47:00 -0700 |
commit | b8c9d4253da43c02b287831f7e576568f24fbe58 (patch) | |
tree | 1a3c365c142d82c95f46f8e58bfb0e7cc74b1e01 /fs/xfs/libxfs/xfs_fs.h | |
parent | af69d852dfe62b925d0df401eafad40698c889c6 (diff) | |
download | lwn-b8c9d4253da43c02b287831f7e576568f24fbe58.tar.gz lwn-b8c9d4253da43c02b287831f7e576568f24fbe58.zip |
xfs: split out handle management helpers a bit
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 <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_fs.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_fs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_fs.h b/fs/xfs/libxfs/xfs_fs.h index 53526fca7386..97384ab95de4 100644 --- a/fs/xfs/libxfs/xfs_fs.h +++ b/fs/xfs/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 */ |