diff options
Diffstat (limited to 'fs/xfs/xfs_itable.c')
| -rw-r--r-- | fs/xfs/xfs_itable.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c index f615e04364f4..eb85bdedad0c 100644 --- a/fs/xfs/xfs_itable.c +++ b/fs/xfs/xfs_itable.c | |||
| @@ -129,7 +129,7 @@ xfs_bulkstat_one_iget( | |||
| 129 | return error; | 129 | return error; |
| 130 | } | 130 | } |
| 131 | 131 | ||
| 132 | STATIC int | 132 | STATIC void |
| 133 | xfs_bulkstat_one_dinode( | 133 | xfs_bulkstat_one_dinode( |
| 134 | xfs_mount_t *mp, /* mount point for filesystem */ | 134 | xfs_mount_t *mp, /* mount point for filesystem */ |
| 135 | xfs_ino_t ino, /* inode number to get data for */ | 135 | xfs_ino_t ino, /* inode number to get data for */ |
| @@ -198,8 +198,6 @@ xfs_bulkstat_one_dinode( | |||
| 198 | buf->bs_blocks = be64_to_cpu(dic->di_nblocks); | 198 | buf->bs_blocks = be64_to_cpu(dic->di_nblocks); |
| 199 | break; | 199 | break; |
| 200 | } | 200 | } |
| 201 | |||
| 202 | return 0; | ||
| 203 | } | 201 | } |
| 204 | 202 | ||
| 205 | STATIC int | 203 | STATIC int |
| @@ -614,7 +612,8 @@ xfs_bulkstat( | |||
| 614 | xfs_buf_relse(bp); | 612 | xfs_buf_relse(bp); |
| 615 | error = xfs_itobp(mp, NULL, ip, | 613 | error = xfs_itobp(mp, NULL, ip, |
| 616 | &dip, &bp, bno, | 614 | &dip, &bp, bno, |
| 617 | XFS_IMAP_BULKSTAT); | 615 | XFS_IMAP_BULKSTAT, |
| 616 | XFS_BUF_LOCK); | ||
| 618 | if (!error) | 617 | if (!error) |
| 619 | clustidx = ip->i_boffset / mp->m_sb.sb_inodesize; | 618 | clustidx = ip->i_boffset / mp->m_sb.sb_inodesize; |
| 620 | kmem_zone_free(xfs_inode_zone, ip); | 619 | kmem_zone_free(xfs_inode_zone, ip); |
