Remove all the uses of the old xfs_fsop_geom_t typedef.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
int error; /* we have hit an error */
long esize; /* new rt extent size */
int ffd; /* mount point file descriptor */
- xfs_fsop_geom_t geo; /* current fs geometry */
+ struct xfs_fsop_geom geo; /* current fs geometry */
int iflag; /* -i flag */
int isint; /* log is currently internal */
int lflag; /* -l flag */
int maxpct; /* -m flag value */
int mflag; /* -m flag */
int nflag; /* -n flag */
- xfs_fsop_geom_t ngeo; /* new fs geometry */
+ struct xfs_fsop_geom ngeo; /* new fs geometry */
int rflag; /* -r flag */
long long rsize; /* new rt size in fs blocks */
int xflag; /* -x flag */
int c, flags = 0;
char *sp;
mode_t mode = 0600;
- xfs_fsop_geom_t geometry = { 0 };
+ struct xfs_fsop_geom geometry = { 0 };
struct fs_path fsp;
progname = basename(argv[0]);
int fd; /* open file descriptor */
int flags; /* flags describing file state */
char *name; /* file name at time of open */
- xfs_fsop_geom_t geom; /* XFS filesystem geometry */
+ struct xfs_fsop_geom geom; /* XFS filesystem geometry */
struct fs_path fs_path; /* XFS path information */
} fileio_t;
*/
extern off64_t filesize(void);
-extern int openfile(char *, xfs_fsop_geom_t *, int, mode_t,
+extern int openfile(char *, struct xfs_fsop_geom *, int, mode_t,
struct fs_path *);
-extern int addfile(char *, int , xfs_fsop_geom_t *, int,
+extern int addfile(char *, int , struct xfs_fsop_geom *, int,
struct fs_path *);
extern void printxattr(uint, int, int, const char *, int, int);
int
openfile(
char *path,
- xfs_fsop_geom_t *geom,
+ struct xfs_fsop_geom *geom,
int flags,
mode_t mode,
struct fs_path *fs_path)
addfile(
char *name,
int fd,
- xfs_fsop_geom_t *geometry,
+ struct xfs_fsop_geom *geometry,
int flags,
struct fs_path *fs_path)
{
int c, fd, flags = 0;
char *sp;
mode_t mode = 0600;
- xfs_fsop_geom_t geometry = { 0 };
+ struct xfs_fsop_geom geometry = { 0 };
struct fs_path fsp;
if (argc == 1) {
For
.B XFS_IOC_FSGEOMETRY
(get filesystem mkfs time information), the output structure is of type
-.BR xfs_fsop_geom_t .
+.BR struct xfs_fsop_geom .
For
.B XFS_FS_COUNTS
(get filesystem dynamic global information), the output structure is of type
int
openfile(
char *path,
- xfs_fsop_geom_t *geom,
+ struct xfs_fsop_geom *geom,
struct fs_path *fs_path)
{
struct fs_path *fsp;
addfile(
char *name,
int fd,
- xfs_fsop_geom_t *geometry,
+ struct xfs_fsop_geom *geometry,
struct fs_path *fs_path)
{
char *filename;
char **argv)
{
int c;
- xfs_fsop_geom_t geometry = { 0 };
+ struct xfs_fsop_geom geometry = { 0 };
struct fs_path fsp;
progname = basename(argv[0]);
#define XFS_SPACEMAN_SPACE_H_
typedef struct fileio {
- xfs_fsop_geom_t geom; /* XFS filesystem geometry */
+ struct xfs_fsop_geom geom; /* XFS filesystem geometry */
struct fs_path fs_path; /* XFS path information */
char *name; /* file name at time of open */
int fd; /* open file descriptor */
extern int filecount; /* number of open files */
extern fileio_t *file; /* active file in file table */
-extern int openfile(char *, xfs_fsop_geom_t *, struct fs_path *);
-extern int addfile(char *, int , xfs_fsop_geom_t *, struct fs_path *);
+extern int openfile(char *, struct xfs_fsop_geom *, struct fs_path *);
+extern int addfile(char *, int , struct xfs_fsop_geom *, struct fs_path *);
extern void print_init(void);
extern void help_init(void);