|
@@ -389,11 +389,14 @@ typedef struct xfs_inode {
|
|
|
(((vfsp)->vfs_flag & VFS_GRPID) || ((pip)->i_d.di_mode & S_ISGID))
|
|
|
|
|
|
/*
|
|
|
- * xfs_iget.c prototypes.
|
|
|
+ * Flags for xfs_iget()
|
|
|
*/
|
|
|
+#define XFS_IGET_CREATE 0x1
|
|
|
+#define XFS_IGET_BULKSTAT 0x2
|
|
|
|
|
|
-#define IGET_CREATE 1
|
|
|
-
|
|
|
+/*
|
|
|
+ * xfs_iget.c prototypes.
|
|
|
+ */
|
|
|
void xfs_ihash_init(struct xfs_mount *);
|
|
|
void xfs_ihash_free(struct xfs_mount *);
|
|
|
void xfs_chash_init(struct xfs_mount *);
|
|
@@ -425,7 +428,7 @@ int xfs_itobp(struct xfs_mount *, struct xfs_trans *,
|
|
|
xfs_inode_t *, xfs_dinode_t **, struct xfs_buf **,
|
|
|
xfs_daddr_t, uint);
|
|
|
int xfs_iread(struct xfs_mount *, struct xfs_trans *, xfs_ino_t,
|
|
|
- xfs_inode_t **, xfs_daddr_t);
|
|
|
+ xfs_inode_t **, xfs_daddr_t, uint);
|
|
|
int xfs_iread_extents(struct xfs_trans *, xfs_inode_t *, int);
|
|
|
int xfs_ialloc(struct xfs_trans *, xfs_inode_t *, mode_t,
|
|
|
xfs_nlink_t, xfs_dev_t, struct cred *, xfs_prid_t,
|