diff options
| author | Brian Foster <bfoster@redhat.com> | 2018-07-12 01:26:25 -0400 | 
|---|---|---|
| committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-07-12 01:26:25 -0400 | 
| commit | a7beabeae221db2118a51f6948239d63b84499ca (patch) | |
| tree | 33bfdf086cb1a4c89f96ae2d0d81bb00b23bf229 /fs/xfs/xfs_rtalloc.c | |
| parent | d0a9d795729945fc7eea77387af7780a5a0ec4c5 (diff) | |
xfs: remove xfs_bmapi_write() firstblock param
All callers pass ->t_firstblock from the current transaction.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
| -rw-r--r-- | fs/xfs/xfs_rtalloc.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c index 1c894ea2abca..edd949376a51 100644 --- a/fs/xfs/xfs_rtalloc.c +++ b/fs/xfs/xfs_rtalloc.c | |||
| @@ -792,8 +792,8 @@ xfs_growfs_rt_alloc( | |||
| 792 | */ | 792 | */ | 
| 793 | nmap = 1; | 793 | nmap = 1; | 
| 794 | error = xfs_bmapi_write(tp, ip, oblocks, nblocks - oblocks, | 794 | error = xfs_bmapi_write(tp, ip, oblocks, nblocks - oblocks, | 
| 795 | XFS_BMAPI_METADATA, &tp->t_firstblock, | 795 | XFS_BMAPI_METADATA, resblks, &map, | 
| 796 | resblks, &map, &nmap); | 796 | &nmap); | 
| 797 | if (!error && nmap < 1) | 797 | if (!error && nmap < 1) | 
| 798 | error = -ENOSPC; | 798 | error = -ENOSPC; | 
| 799 | if (error) | 799 | if (error) | 
