diff options
author | Dave Chinner <dchinner@redhat.com> | 2012-04-23 15:59:01 +1000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-05-14 16:20:57 -0500 |
commit | fd50092c08068b5bc5d170bc17894db584aaf7b2 (patch) | |
tree | 0d2abe20735bf44e88727ec074fa55a298dc086d /fs/xfs/xfs_bmap.h | |
parent | 4ecbfe637cbcc0f093d1f295ef483f4e31e3987b (diff) | |
download | linux-fd50092c08068b5bc5d170bc17894db584aaf7b2.tar.gz linux-fd50092c08068b5bc5d170bc17894db584aaf7b2.tar.bz2 linux-fd50092c08068b5bc5d170bc17894db584aaf7b2.zip |
xfs: move xfs_fsb_to_db to xfs_bmap.h
This is the only remaining useful function in xfs_rw.h, so move it
to a header file responsible for block mapping functions that the
callers already include. Soon we can get rid of xfs_rw.h.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_bmap.h')
-rw-r--r-- | fs/xfs/xfs_bmap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_bmap.h b/fs/xfs/xfs_bmap.h index 89ee672d378a..803b56d7ce16 100644 --- a/fs/xfs/xfs_bmap.h +++ b/fs/xfs/xfs_bmap.h @@ -211,6 +211,9 @@ int xfs_bmap_count_blocks(struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, int *count); int xfs_bmap_punch_delalloc_range(struct xfs_inode *ip, xfs_fileoff_t start_fsb, xfs_fileoff_t length); + +xfs_daddr_t xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb); + #endif /* __KERNEL__ */ #endif /* __XFS_BMAP_H__ */ |