diff options
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index 94b32f906e79..22baf6ea4fac 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h | |||
@@ -496,11 +496,10 @@ static inline int xfs_isiflocked(struct xfs_inode *ip) | |||
496 | (((pip)->i_mount->m_flags & XFS_MOUNT_GRPID) || \ | 496 | (((pip)->i_mount->m_flags & XFS_MOUNT_GRPID) || \ |
497 | ((pip)->i_d.di_mode & S_ISGID)) | 497 | ((pip)->i_d.di_mode & S_ISGID)) |
498 | 498 | ||
499 | |||
499 | /* | 500 | /* |
500 | * xfs_iget.c prototypes. | 501 | * xfs_inode.c prototypes. |
501 | */ | 502 | */ |
502 | int xfs_iget(struct xfs_mount *, struct xfs_trans *, xfs_ino_t, | ||
503 | uint, uint, xfs_inode_t **); | ||
504 | void xfs_ilock(xfs_inode_t *, uint); | 503 | void xfs_ilock(xfs_inode_t *, uint); |
505 | int xfs_ilock_nowait(xfs_inode_t *, uint); | 504 | int xfs_ilock_nowait(xfs_inode_t *, uint); |
506 | void xfs_iunlock(xfs_inode_t *, uint); | 505 | void xfs_iunlock(xfs_inode_t *, uint); |
@@ -508,11 +507,6 @@ void xfs_ilock_demote(xfs_inode_t *, uint); | |||
508 | int xfs_isilocked(xfs_inode_t *, uint); | 507 | int xfs_isilocked(xfs_inode_t *, uint); |
509 | uint xfs_ilock_map_shared(xfs_inode_t *); | 508 | uint xfs_ilock_map_shared(xfs_inode_t *); |
510 | void xfs_iunlock_map_shared(xfs_inode_t *, uint); | 509 | void xfs_iunlock_map_shared(xfs_inode_t *, uint); |
511 | void xfs_inode_free(struct xfs_inode *ip); | ||
512 | |||
513 | /* | ||
514 | * xfs_inode.c prototypes. | ||
515 | */ | ||
516 | int xfs_ialloc(struct xfs_trans *, xfs_inode_t *, umode_t, | 510 | int xfs_ialloc(struct xfs_trans *, xfs_inode_t *, umode_t, |
517 | xfs_nlink_t, xfs_dev_t, prid_t, int, | 511 | xfs_nlink_t, xfs_dev_t, prid_t, int, |
518 | struct xfs_buf **, xfs_inode_t **); | 512 | struct xfs_buf **, xfs_inode_t **); |
@@ -591,6 +585,7 @@ void xfs_iext_irec_compact(xfs_ifork_t *); | |||
591 | void xfs_iext_irec_compact_pages(xfs_ifork_t *); | 585 | void xfs_iext_irec_compact_pages(xfs_ifork_t *); |
592 | void xfs_iext_irec_compact_full(xfs_ifork_t *); | 586 | void xfs_iext_irec_compact_full(xfs_ifork_t *); |
593 | void xfs_iext_irec_update_extoffs(xfs_ifork_t *, int, int); | 587 | void xfs_iext_irec_update_extoffs(xfs_ifork_t *, int, int); |
588 | bool xfs_can_free_eofblocks(struct xfs_inode *, bool); | ||
594 | 589 | ||
595 | #define xfs_ipincount(ip) ((unsigned int) atomic_read(&ip->i_pincount)) | 590 | #define xfs_ipincount(ip) ((unsigned int) atomic_read(&ip->i_pincount)) |
596 | 591 | ||
@@ -603,5 +598,6 @@ void xfs_inobp_check(struct xfs_mount *, struct xfs_buf *); | |||
603 | extern struct kmem_zone *xfs_ifork_zone; | 598 | extern struct kmem_zone *xfs_ifork_zone; |
604 | extern struct kmem_zone *xfs_inode_zone; | 599 | extern struct kmem_zone *xfs_inode_zone; |
605 | extern struct kmem_zone *xfs_ili_zone; | 600 | extern struct kmem_zone *xfs_ili_zone; |
601 | extern const struct xfs_buf_ops xfs_inode_buf_ops; | ||
606 | 602 | ||
607 | #endif /* __XFS_INODE_H__ */ | 603 | #endif /* __XFS_INODE_H__ */ |