Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9da096fd authored by Malcolm Parsons's avatar Malcolm Parsons Committed by Christoph Hellwig
Browse files

xfs: fix various typos

parent bddaafa1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2479,7 +2479,7 @@ xfs_bmap_adjacent(
	fb_agno = nullfb ? NULLAGNUMBER : XFS_FSB_TO_AGNO(mp, ap->firstblock);
	/*
	 * If allocating at eof, and there's a previous real block,
	 * try to use it's last block as our starting point.
	 * try to use its last block as our starting point.
	 */
	if (ap->eof && ap->prevp->br_startoff != NULLFILEOFF &&
	    !isnullstartblock(ap->prevp->br_startblock) &&
@@ -4796,7 +4796,7 @@ xfs_bmapi(
	xfs_extlen_t	minlen;		/* min allocation size */
	xfs_mount_t	*mp;		/* xfs mount structure */
	int		n;		/* current extent index */
	int		nallocs;	/* number of extents alloc\'d */
	int		nallocs;	/* number of extents alloc'd */
	xfs_extnum_t	nextents;	/* number of extents in file */
	xfs_fileoff_t	obno;		/* old block number (offset) */
	xfs_bmbt_irec_t	prev;		/* previous file extent record */
@@ -6486,7 +6486,7 @@ xfs_bmap_count_tree(
	block = XFS_BUF_TO_BLOCK(bp);

	if (--level) {
		/* Not at node above leafs, count this level of nodes */
		/* Not at node above leaves, count this level of nodes */
		nextbno = be64_to_cpu(block->bb_u.l.bb_rightsib);
		while (nextbno != NULLFSBLOCK) {
			if ((error = xfs_btree_read_bufl(mp, tp, nextbno,
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ typedef struct xfs_bmalloca {
	struct xfs_bmbt_irec	*gotp;	/* extent after, or delayed */
	xfs_extlen_t		alen;	/* i/o length asked/allocated */
	xfs_extlen_t		total;	/* total blocks needed for xaction */
	xfs_extlen_t		minlen;	/* mininum allocation size (blocks) */
	xfs_extlen_t		minlen;	/* minimum allocation size (blocks) */
	xfs_extlen_t		minleft; /* amount must be left after alloc */
	char			eof;	/* set if allocating past last extent */
	char			wasdel;	/* replacing a delayed allocation */
+2 −2
Original line number Diff line number Diff line
@@ -1883,7 +1883,7 @@ xfs_btree_lshift(

	/*
	 * We add one entry to the left side and remove one for the right side.
	 * Accout for it here, the changes will be updated on disk and logged
	 * Account for it here, the changes will be updated on disk and logged
	 * later.
	 */
	lrecs++;
@@ -3535,7 +3535,7 @@ xfs_btree_delrec(
	XFS_BTREE_STATS_INC(cur, join);

	/*
	 * Fix up the the number of records and right block pointer in the
	 * Fix up the number of records and right block pointer in the
	 * surviving block, and log it.
	 */
	xfs_btree_set_numrecs(left, lrecs + rrecs);
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ extern kmem_zone_t *xfs_btree_cur_zone;
/*
 * Generic btree header.
 *
 * This is a comination of the actual format used on disk for short and long
 * This is a combination of the actual format used on disk for short and long
 * format btrees.  The first three fields are shared by both format, but
 * the pointers are different and should be used with care.
 *
+1 −1
Original line number Diff line number Diff line
@@ -185,7 +185,7 @@ typedef struct xfs_da_state {
	unsigned char		inleaf;		/* insert into 1->lf, 0->splf */
	unsigned char		extravalid;	/* T/F: extrablk is in use */
	unsigned char		extraafter;	/* T/F: extrablk is after new */
	xfs_da_state_blk_t	extrablk;	/* for double-splits on leafs */
	xfs_da_state_blk_t	extrablk;	/* for double-splits on leaves */
						/* for dirv2 extrablk is data */
} xfs_da_state_t;

Loading