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 94b32f906e7..22baf6ea4fa 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)  	(((pip)->i_mount->m_flags & XFS_MOUNT_GRPID) || \  	 ((pip)->i_d.di_mode & S_ISGID)) +  /* - * xfs_iget.c prototypes. + * xfs_inode.c prototypes.   */ -int		xfs_iget(struct xfs_mount *, struct xfs_trans *, xfs_ino_t, -			 uint, uint, xfs_inode_t **);  void		xfs_ilock(xfs_inode_t *, uint);  int		xfs_ilock_nowait(xfs_inode_t *, uint);  void		xfs_iunlock(xfs_inode_t *, uint); @@ -508,11 +507,6 @@ void		xfs_ilock_demote(xfs_inode_t *, uint);  int		xfs_isilocked(xfs_inode_t *, uint);  uint		xfs_ilock_map_shared(xfs_inode_t *);  void		xfs_iunlock_map_shared(xfs_inode_t *, uint); -void		xfs_inode_free(struct xfs_inode *ip); - -/* - * xfs_inode.c prototypes. - */  int		xfs_ialloc(struct xfs_trans *, xfs_inode_t *, umode_t,  			   xfs_nlink_t, xfs_dev_t, prid_t, int,  			   struct xfs_buf **, xfs_inode_t **); @@ -591,6 +585,7 @@ void		xfs_iext_irec_compact(xfs_ifork_t *);  void		xfs_iext_irec_compact_pages(xfs_ifork_t *);  void		xfs_iext_irec_compact_full(xfs_ifork_t *);  void		xfs_iext_irec_update_extoffs(xfs_ifork_t *, int, int); +bool		xfs_can_free_eofblocks(struct xfs_inode *, bool);  #define xfs_ipincount(ip)	((unsigned int) atomic_read(&ip->i_pincount)) @@ -603,5 +598,6 @@ void		xfs_inobp_check(struct xfs_mount *, struct xfs_buf *);  extern struct kmem_zone	*xfs_ifork_zone;  extern struct kmem_zone	*xfs_inode_zone;  extern struct kmem_zone	*xfs_ili_zone; +extern const struct xfs_buf_ops xfs_inode_buf_ops;  #endif	/* __XFS_INODE_H__ */  |