aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_ialloc.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2014-05-19 18:56:00 -0400
committerDave Chinner <david@fromorbit.com>2014-05-19 18:56:00 -0400
commit0d907a3bb4a77cffebebd17c323e898048301aa3 (patch)
treec093289c9ab443935ce10e138ab49efacb2c283f /fs/xfs/xfs_ialloc.c
parent2d6dcc6d7e95cc83046b2f97e179e6bbb7921245 (diff)
parent376c2f3a5f0706868b08ccf043bf3532936a03b1 (diff)
Merge branch 'xfs-misc-fixes-2-for-3.16' into for-next
Conflicts: fs/xfs/xfs_ialloc.c
Diffstat (limited to 'fs/xfs/xfs_ialloc.c')
-rw-r--r--fs/xfs/xfs_ialloc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/xfs/xfs_ialloc.c b/fs/xfs/xfs_ialloc.c
index 6ac0c2986c32..1313df7ff0d8 100644
--- a/fs/xfs/xfs_ialloc.c
+++ b/fs/xfs/xfs_ialloc.c
@@ -1437,7 +1437,7 @@ xfs_difree_inobt(
1437 struct xfs_buf *agbp, 1437 struct xfs_buf *agbp,
1438 xfs_agino_t agino, 1438 xfs_agino_t agino,
1439 struct xfs_bmap_free *flist, 1439 struct xfs_bmap_free *flist,
1440 int *delete, 1440 int *deleted,
1441 xfs_ino_t *first_ino, 1441 xfs_ino_t *first_ino,
1442 struct xfs_inobt_rec_incore *orec) 1442 struct xfs_inobt_rec_incore *orec)
1443{ 1443{
@@ -1497,7 +1497,7 @@ xfs_difree_inobt(
1497 if (!(mp->m_flags & XFS_MOUNT_IKEEP) && 1497 if (!(mp->m_flags & XFS_MOUNT_IKEEP) &&
1498 (rec.ir_freecount == mp->m_ialloc_inos)) { 1498 (rec.ir_freecount == mp->m_ialloc_inos)) {
1499 1499
1500 *delete = 1; 1500 *deleted = 1;
1501 *first_ino = XFS_AGINO_TO_INO(mp, agno, rec.ir_startino); 1501 *first_ino = XFS_AGINO_TO_INO(mp, agno, rec.ir_startino);
1502 1502
1503 /* 1503 /*
@@ -1525,7 +1525,7 @@ xfs_difree_inobt(
1525 XFS_AGINO_TO_AGBNO(mp, rec.ir_startino)), 1525 XFS_AGINO_TO_AGBNO(mp, rec.ir_startino)),
1526 mp->m_ialloc_blks, flist, mp); 1526 mp->m_ialloc_blks, flist, mp);
1527 } else { 1527 } else {
1528 *delete = 0; 1528 *deleted = 0;
1529 1529
1530 error = xfs_inobt_update(cur, &rec); 1530 error = xfs_inobt_update(cur, &rec);
1531 if (error) { 1531 if (error) {
@@ -1662,7 +1662,7 @@ xfs_difree(
1662 struct xfs_trans *tp, /* transaction pointer */ 1662 struct xfs_trans *tp, /* transaction pointer */
1663 xfs_ino_t inode, /* inode to be freed */ 1663 xfs_ino_t inode, /* inode to be freed */
1664 struct xfs_bmap_free *flist, /* extents to free */ 1664 struct xfs_bmap_free *flist, /* extents to free */
1665 int *delete,/* set if inode cluster was deleted */ 1665 int *deleted,/* set if inode cluster was deleted */
1666 xfs_ino_t *first_ino)/* first inode in deleted cluster */ 1666 xfs_ino_t *first_ino)/* first inode in deleted cluster */
1667{ 1667{
1668 /* REFERENCED */ 1668 /* REFERENCED */
@@ -1714,7 +1714,7 @@ xfs_difree(
1714 /* 1714 /*
1715 * Fix up the inode allocation btree. 1715 * Fix up the inode allocation btree.
1716 */ 1716 */
1717 error = xfs_difree_inobt(mp, tp, agbp, agino, flist, delete, first_ino, 1717 error = xfs_difree_inobt(mp, tp, agbp, agino, flist, deleted, first_ino,
1718 &rec); 1718 &rec);
1719 if (error) 1719 if (error)
1720 goto error0; 1720 goto error0;