|
@@ -22,20 +22,6 @@ struct xfs_buf;
|
|
|
struct xfs_inode;
|
|
|
struct xfs_mount;
|
|
|
|
|
|
-/*
|
|
|
- * Convert the given file system block to a disk block.
|
|
|
- * We have to treat it differently based on whether the
|
|
|
- * file is a real time file or not, because the bmap code
|
|
|
- * does.
|
|
|
- */
|
|
|
-static inline xfs_daddr_t
|
|
|
-xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb)
|
|
|
-{
|
|
|
- return (XFS_IS_REALTIME_INODE(ip) ? \
|
|
|
- (xfs_daddr_t)XFS_FSB_TO_BB((ip)->i_mount, (fsb)) : \
|
|
|
- XFS_FSB_TO_DADDR((ip)->i_mount, (fsb)));
|
|
|
-}
|
|
|
-
|
|
|
/*
|
|
|
* Prototypes for functions in xfs_rw.c.
|
|
|
*/
|