diff options
author | Christoph Hellwig <hch@sgi.com> | 2005-06-21 01:36:00 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-06-21 01:36:00 -0400 |
commit | 4372d6e10349d4e8b012588f86f15c740c73a7c4 (patch) | |
tree | 4ca00eae1d6b4eca6a4c19f1846e7cecbe3cdb09 /fs/xfs/xfs_bmap_btree.c | |
parent | cf9937c6c6c7edb6650411d1cf3cb57f072b1277 (diff) |
[XFS] Remove dead code. Patch from Adrian Bunk
SGI-PV: 936255
SGI-Modid: xfs-linux:xfs-kern:192759a
Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_bmap_btree.c')
-rw-r--r-- | fs/xfs/xfs_bmap_btree.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/xfs/xfs_bmap_btree.c b/fs/xfs/xfs_bmap_btree.c index 163305a79fcc..09c413576ba8 100644 --- a/fs/xfs/xfs_bmap_btree.c +++ b/fs/xfs/xfs_bmap_btree.c | |||
@@ -2331,20 +2331,6 @@ xfs_bmbt_lookup_ge( | |||
2331 | return xfs_bmbt_lookup(cur, XFS_LOOKUP_GE, stat); | 2331 | return xfs_bmbt_lookup(cur, XFS_LOOKUP_GE, stat); |
2332 | } | 2332 | } |
2333 | 2333 | ||
2334 | int /* error */ | ||
2335 | xfs_bmbt_lookup_le( | ||
2336 | xfs_btree_cur_t *cur, | ||
2337 | xfs_fileoff_t off, | ||
2338 | xfs_fsblock_t bno, | ||
2339 | xfs_filblks_t len, | ||
2340 | int *stat) /* success/failure */ | ||
2341 | { | ||
2342 | cur->bc_rec.b.br_startoff = off; | ||
2343 | cur->bc_rec.b.br_startblock = bno; | ||
2344 | cur->bc_rec.b.br_blockcount = len; | ||
2345 | return xfs_bmbt_lookup(cur, XFS_LOOKUP_LE, stat); | ||
2346 | } | ||
2347 | |||
2348 | /* | 2334 | /* |
2349 | * Give the bmap btree a new root block. Copy the old broot contents | 2335 | * Give the bmap btree a new root block. Copy the old broot contents |
2350 | * down into a real block and make the broot point to it. | 2336 | * down into a real block and make the broot point to it. |