diff options
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. |