|
@@ -481,12 +481,6 @@ static inline void xfs_ifunlock(xfs_inode_t *ip)
|
|
(((pip)->i_mount->m_flags & XFS_MOUNT_GRPID) || \
|
|
(((pip)->i_mount->m_flags & XFS_MOUNT_GRPID) || \
|
|
((pip)->i_d.di_mode & S_ISGID))
|
|
((pip)->i_d.di_mode & S_ISGID))
|
|
|
|
|
|
-/*
|
|
|
|
- * Flags for xfs_iget()
|
|
|
|
- */
|
|
|
|
-#define XFS_IGET_CREATE 0x1
|
|
|
|
-#define XFS_IGET_BULKSTAT 0x2
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* xfs_iget.c prototypes.
|
|
* xfs_iget.c prototypes.
|
|
*/
|
|
*/
|
|
@@ -508,8 +502,6 @@ void xfs_ireclaim(xfs_inode_t *);
|
|
/*
|
|
/*
|
|
* xfs_inode.c prototypes.
|
|
* xfs_inode.c prototypes.
|
|
*/
|
|
*/
|
|
-int xfs_iread(struct xfs_mount *, struct xfs_trans *,
|
|
|
|
- struct xfs_inode *, xfs_daddr_t, uint);
|
|
|
|
int xfs_ialloc(struct xfs_trans *, xfs_inode_t *, mode_t,
|
|
int xfs_ialloc(struct xfs_trans *, xfs_inode_t *, mode_t,
|
|
xfs_nlink_t, xfs_dev_t, struct cred *, xfs_prid_t,
|
|
xfs_nlink_t, xfs_dev_t, struct cred *, xfs_prid_t,
|
|
int, struct xfs_buf **, boolean_t *, xfs_inode_t **);
|
|
int, struct xfs_buf **, boolean_t *, xfs_inode_t **);
|
|
@@ -582,12 +574,20 @@ do { \
|
|
|
|
|
|
#endif /* __KERNEL__ */
|
|
#endif /* __KERNEL__ */
|
|
|
|
|
|
|
|
+/*
|
|
|
|
+ * Flags for xfs_iget()
|
|
|
|
+ */
|
|
|
|
+#define XFS_IGET_CREATE 0x1
|
|
|
|
+#define XFS_IGET_BULKSTAT 0x2
|
|
|
|
+
|
|
int xfs_inotobp(struct xfs_mount *, struct xfs_trans *,
|
|
int xfs_inotobp(struct xfs_mount *, struct xfs_trans *,
|
|
xfs_ino_t, struct xfs_dinode **,
|
|
xfs_ino_t, struct xfs_dinode **,
|
|
struct xfs_buf **, int *, uint);
|
|
struct xfs_buf **, int *, uint);
|
|
int xfs_itobp(struct xfs_mount *, struct xfs_trans *,
|
|
int xfs_itobp(struct xfs_mount *, struct xfs_trans *,
|
|
struct xfs_inode *, struct xfs_dinode **,
|
|
struct xfs_inode *, struct xfs_dinode **,
|
|
struct xfs_buf **, uint);
|
|
struct xfs_buf **, uint);
|
|
|
|
+int xfs_iread(struct xfs_mount *, struct xfs_trans *,
|
|
|
|
+ struct xfs_inode *, xfs_daddr_t, uint);
|
|
void xfs_dinode_from_disk(struct xfs_icdinode *,
|
|
void xfs_dinode_from_disk(struct xfs_icdinode *,
|
|
struct xfs_dinode *);
|
|
struct xfs_dinode *);
|
|
void xfs_dinode_to_disk(struct xfs_dinode *,
|
|
void xfs_dinode_to_disk(struct xfs_dinode *,
|