aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2011-09-18 16:40:46 -0400
committerAlex Elder <aelder@sgi.com>2011-10-11 22:15:03 -0400
commit5b777ad517ee75d3bb8d67c142d808822e46601b (patch)
tree0f73fed092f3772d51890f3e90fe518460522e3b /fs/xfs/xfs_bmap.h
parent5c8ed2021ff291f5e399a9b43c4f699b2fc58fbb (diff)
xfs: remove xfs_bmapi_single()
Now we have xfs_bmapi_read, there is no need for xfs_bmapi_single(). Change the remaining caller over and kill the function. Signed-off-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_bmap.h')
-rw-r--r--fs/xfs/xfs_bmap.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/fs/xfs/xfs_bmap.h b/fs/xfs/xfs_bmap.h
index 16257c6eba7..01693390df2 100644
--- a/fs/xfs/xfs_bmap.h
+++ b/fs/xfs/xfs_bmap.h
@@ -299,21 +299,6 @@ int xfs_bmapi_read(struct xfs_inode *ip, xfs_fileoff_t bno,
299 int *nmap, int flags); 299 int *nmap, int flags);
300 300
301/* 301/*
302 * Map file blocks to filesystem blocks, simple version.
303 * One block only, read-only.
304 * For flags, only the XFS_BMAPI_ATTRFORK flag is examined.
305 * For the other flag values, the effect is as if XFS_BMAPI_METADATA
306 * was set and all the others were clear.
307 */
308int /* error */
309xfs_bmapi_single(
310 struct xfs_trans *tp, /* transaction pointer */
311 struct xfs_inode *ip, /* incore inode */
312 int whichfork, /* data or attr fork */
313 xfs_fsblock_t *fsb, /* output: mapped block */
314 xfs_fileoff_t bno); /* starting file offs. mapped */
315
316/*
317 * Unmap (remove) blocks from a file. 302 * Unmap (remove) blocks from a file.
318 * If nexts is nonzero then the number of extents to remove is limited to 303 * If nexts is nonzero then the number of extents to remove is limited to
319 * that value. If not all extents in the block range can be removed then 304 * that value. If not all extents in the block range can be removed then