diff options
| author | Brian Foster <[email protected]> | 2018-07-12 05:26:12 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2018-07-12 05:26:12 +0000 |
| commit | 6e702a5dcbe1d38cf479931dd2e2a3da884143f0 (patch) | |
| tree | 069cc3a88b33e1518a643c0a56176cbd0adf1b3a /fs/xfs/xfs_rtalloc.c | |
| parent | xfs: use ->t_dfops for all xfs_bmapi_write() callers (diff) | |
| download | kernel-6e702a5dcbe1d38cf479931dd2e2a3da884143f0.tar.gz kernel-6e702a5dcbe1d38cf479931dd2e2a3da884143f0.zip | |
xfs: remove xfs_bmapi_write() dfops param
Now that all callers use ->t_dfops, the xfs_bmapi_write() dfops
parameter is no longer necessary. Remove it and access ->t_dfops
directly. This patch does not change behavior.
Signed-off-by: Brian Foster <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
| -rw-r--r-- | fs/xfs/xfs_rtalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c index 312d410d91fb..1c7d1238ff3b 100644 --- a/fs/xfs/xfs_rtalloc.c +++ b/fs/xfs/xfs_rtalloc.c @@ -795,7 +795,7 @@ xfs_growfs_rt_alloc( nmap = 1; error = xfs_bmapi_write(tp, ip, oblocks, nblocks - oblocks, XFS_BMAPI_METADATA, &firstblock, - resblks, &map, &nmap, tp->t_dfops); + resblks, &map, &nmap); if (!error && nmap < 1) error = -ENOSPC; if (error) |
