diff options
author | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-12-11 23:28:02 -0500 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-12-11 23:28:02 -0500 |
commit | 4d9d4ebf5de848e3450e23e4db9ac74e23e5daa6 (patch) | |
tree | 2c6d2766054a925a42c1863e91fb5b8c6d0eb5cb /fs/xfs/xfs_inode.h | |
parent | cfbe52672fbc6f333892e8dde82c35e0a76aa5f5 (diff) | |
parent | c4cd747ee6c3ba1e7727878e3fce482d0d8c0136 (diff) |
Merge branch 'master' of git+ssh://git.melbourne.sgi.com/git/xfs
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index 558253e6fb43..f0e4d79833e1 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h | |||
@@ -223,7 +223,6 @@ struct xfs_dquot; | |||
223 | 223 | ||
224 | #if defined(XFS_ILOCK_TRACE) | 224 | #if defined(XFS_ILOCK_TRACE) |
225 | #define XFS_ILOCK_KTRACE_SIZE 32 | 225 | #define XFS_ILOCK_KTRACE_SIZE 32 |
226 | extern ktrace_t *xfs_ilock_trace_buf; | ||
227 | extern void xfs_ilock_trace(struct xfs_inode *, int, unsigned int, inst_t *); | 226 | extern void xfs_ilock_trace(struct xfs_inode *, int, unsigned int, inst_t *); |
228 | #else | 227 | #else |
229 | #define xfs_ilock_trace(i,n,f,ra) | 228 | #define xfs_ilock_trace(i,n,f,ra) |
@@ -483,12 +482,6 @@ static inline void xfs_ifunlock(xfs_inode_t *ip) | |||
483 | ((pip)->i_d.di_mode & S_ISGID)) | 482 | ((pip)->i_d.di_mode & S_ISGID)) |
484 | 483 | ||
485 | /* | 484 | /* |
486 | * Flags for xfs_iget() | ||
487 | */ | ||
488 | #define XFS_IGET_CREATE 0x1 | ||
489 | #define XFS_IGET_BULKSTAT 0x2 | ||
490 | |||
491 | /* | ||
492 | * xfs_iget.c prototypes. | 485 | * xfs_iget.c prototypes. |
493 | */ | 486 | */ |
494 | xfs_inode_t *xfs_inode_incore(struct xfs_mount *, xfs_ino_t, | 487 | xfs_inode_t *xfs_inode_incore(struct xfs_mount *, xfs_ino_t, |
@@ -509,8 +502,6 @@ void xfs_ireclaim(xfs_inode_t *); | |||
509 | /* | 502 | /* |
510 | * xfs_inode.c prototypes. | 503 | * xfs_inode.c prototypes. |
511 | */ | 504 | */ |
512 | int xfs_iread(struct xfs_mount *, struct xfs_trans *, | ||
513 | struct xfs_inode *, xfs_daddr_t, uint); | ||
514 | int xfs_ialloc(struct xfs_trans *, xfs_inode_t *, mode_t, | 505 | int xfs_ialloc(struct xfs_trans *, xfs_inode_t *, mode_t, |
515 | xfs_nlink_t, xfs_dev_t, struct cred *, xfs_prid_t, | 506 | xfs_nlink_t, xfs_dev_t, struct cred *, xfs_prid_t, |
516 | int, struct xfs_buf **, boolean_t *, xfs_inode_t **); | 507 | int, struct xfs_buf **, boolean_t *, xfs_inode_t **); |
@@ -583,12 +574,20 @@ do { \ | |||
583 | 574 | ||
584 | #endif /* __KERNEL__ */ | 575 | #endif /* __KERNEL__ */ |
585 | 576 | ||
577 | /* | ||
578 | * Flags for xfs_iget() | ||
579 | */ | ||
580 | #define XFS_IGET_CREATE 0x1 | ||
581 | #define XFS_IGET_BULKSTAT 0x2 | ||
582 | |||
586 | int xfs_inotobp(struct xfs_mount *, struct xfs_trans *, | 583 | int xfs_inotobp(struct xfs_mount *, struct xfs_trans *, |
587 | xfs_ino_t, struct xfs_dinode **, | 584 | xfs_ino_t, struct xfs_dinode **, |
588 | struct xfs_buf **, int *, uint); | 585 | struct xfs_buf **, int *, uint); |
589 | int xfs_itobp(struct xfs_mount *, struct xfs_trans *, | 586 | int xfs_itobp(struct xfs_mount *, struct xfs_trans *, |
590 | struct xfs_inode *, struct xfs_dinode **, | 587 | struct xfs_inode *, struct xfs_dinode **, |
591 | struct xfs_buf **, uint); | 588 | struct xfs_buf **, uint); |
589 | int xfs_iread(struct xfs_mount *, struct xfs_trans *, | ||
590 | struct xfs_inode *, xfs_daddr_t, uint); | ||
592 | void xfs_dinode_from_disk(struct xfs_icdinode *, | 591 | void xfs_dinode_from_disk(struct xfs_icdinode *, |
593 | struct xfs_dinode *); | 592 | struct xfs_dinode *); |
594 | void xfs_dinode_to_disk(struct xfs_dinode *, | 593 | void xfs_dinode_to_disk(struct xfs_dinode *, |