aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap.c
diff options
context:
space:
mode:
authorMalcolm Parsons <malcolm.parsons@gmail.com>2009-03-29 03:55:42 -0400
committerChristoph Hellwig <hch@brick.lst.de>2009-03-29 03:55:42 -0400
commit9da096fd13e63031662566e5e868ec3dcc70824e (patch)
tree43347fa31b3a09ee2d9ef69ee61bb04838426da9 /fs/xfs/xfs_bmap.c
parentbddaafa11a549fff311bcf2e04bbfb5139812cb7 (diff)
xfs: fix various typos
Signed-off-by: Malcolm Parsons <malcolm.parsons@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_bmap.c')
-rw-r--r--fs/xfs/xfs_bmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c
index 07b7d0d59d88..47a87de35af5 100644
--- a/fs/xfs/xfs_bmap.c
+++ b/fs/xfs/xfs_bmap.c
@@ -2479,7 +2479,7 @@ xfs_bmap_adjacent(
2479 fb_agno = nullfb ? NULLAGNUMBER : XFS_FSB_TO_AGNO(mp, ap->firstblock); 2479 fb_agno = nullfb ? NULLAGNUMBER : XFS_FSB_TO_AGNO(mp, ap->firstblock);
2480 /* 2480 /*
2481 * If allocating at eof, and there's a previous real block, 2481 * If allocating at eof, and there's a previous real block,
2482 * try to use it's last block as our starting point. 2482 * try to use its last block as our starting point.
2483 */ 2483 */
2484 if (ap->eof && ap->prevp->br_startoff != NULLFILEOFF && 2484 if (ap->eof && ap->prevp->br_startoff != NULLFILEOFF &&
2485 !isnullstartblock(ap->prevp->br_startblock) && 2485 !isnullstartblock(ap->prevp->br_startblock) &&
@@ -4796,7 +4796,7 @@ xfs_bmapi(
4796 xfs_extlen_t minlen; /* min allocation size */ 4796 xfs_extlen_t minlen; /* min allocation size */
4797 xfs_mount_t *mp; /* xfs mount structure */ 4797 xfs_mount_t *mp; /* xfs mount structure */
4798 int n; /* current extent index */ 4798 int n; /* current extent index */
4799 int nallocs; /* number of extents alloc\'d */ 4799 int nallocs; /* number of extents alloc'd */
4800 xfs_extnum_t nextents; /* number of extents in file */ 4800 xfs_extnum_t nextents; /* number of extents in file */
4801 xfs_fileoff_t obno; /* old block number (offset) */ 4801 xfs_fileoff_t obno; /* old block number (offset) */
4802 xfs_bmbt_irec_t prev; /* previous file extent record */ 4802 xfs_bmbt_irec_t prev; /* previous file extent record */
@@ -6486,7 +6486,7 @@ xfs_bmap_count_tree(
6486 block = XFS_BUF_TO_BLOCK(bp); 6486 block = XFS_BUF_TO_BLOCK(bp);
6487 6487
6488 if (--level) { 6488 if (--level) {
6489 /* Not at node above leafs, count this level of nodes */ 6489 /* Not at node above leaves, count this level of nodes */
6490 nextbno = be64_to_cpu(block->bb_u.l.bb_rightsib); 6490 nextbno = be64_to_cpu(block->bb_u.l.bb_rightsib);
6491 while (nextbno != NULLFSBLOCK) { 6491 while (nextbno != NULLFSBLOCK) {
6492 if ((error = xfs_btree_read_bufl(mp, tp, nextbno, 6492 if ((error = xfs_btree_read_bufl(mp, tp, nextbno,