/* * File creation context. * * Due to our only partial reliance on the VFS to propagate uid and gid values * according to accepted Unix behaviors, callers must initialize idmap to the * correct idmapping structure to get the correct inheritance behaviors when * XFS_MOUNT_GRPID is set. * * To create files detached from the directory tree (e.g. quota inodes), set * idmap to NULL. To create a tree root, set pip to NULL.
*/ struct xfs_icreate_args { struct mnt_idmap *idmap; struct xfs_inode *pip; /* parent inode or null */
dev_t rdev;
umode_t mode;
#define XFS_ICREATE_TMPFILE (1U << 0) /* create an unlinked file */ #define XFS_ICREATE_INIT_XATTRS (1U << 1) /* will set xattrs immediately */ #define XFS_ICREATE_UNLINKABLE (1U << 2) /* cannot link into dir tree */
uint16_t flags;
};
/* * Flags for xfs_trans_ichgtime().
*/ #define XFS_ICHGTIME_MOD 0x1 /* data fork modification timestamp */ #define XFS_ICHGTIME_CHG 0x2 /* inode field change timestamp */ #define XFS_ICHGTIME_CREATE 0x4 /* inode create timestamp */ #define XFS_ICHGTIME_ACCESS 0x8 /* last access timestamp */ void xfs_trans_ichgtime(struct xfs_trans *tp, struct xfs_inode *ip, int flags);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.