From 4b2b7a67f527410449272b86594630c7faa651fe Mon Sep 17 00:00:00 2001 From: Stephen Lord Date: Fri, 3 Oct 2003 07:10:31 -0500 Subject: [PATCH] [XFS] small cleanup SGI Modid: 2.5.x-xfs:slinx:159477a --- fs/xfs/xfs_fs.h | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/fs/xfs/xfs_fs.h b/fs/xfs/xfs_fs.h index c2c3cc118f970..273e7384fa4f3 100644 --- a/fs/xfs/xfs_fs.h +++ b/fs/xfs/xfs_fs.h @@ -392,22 +392,17 @@ typedef struct xfs_fsop_attrmulti_handlereq { } xfs_fsop_attrmulti_handlereq_t; /* - * File system identifier. Should be unique (at least per machine). + * per machine unique filesystem identifier types. */ -typedef struct { - __u32 val[2]; /* file system id type */ -} xfs_fsid_t; +typedef struct { __u32 val[2]; } xfs_fsid_t; /* file system id type */ + -/* - * File identifier. Should be unique per filesystem on a single machine. - * This is typically called by a stateless file server in order to generate - * "file handles". - */ #ifndef HAVE_FID #define MAXFIDSZ 46 + typedef struct fid { __u16 fid_len; /* length of data in bytes */ - unsigned char fid_data[MAXFIDSZ]; /* data (variable length) */ + unsigned char fid_data[MAXFIDSZ]; /* data (fid_len worth) */ } fid_t; #endif -- 2.53.0