diff options
author | Brian Foster <bfoster@redhat.com> | 2018-07-12 07:26:12 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-07-12 07:26:12 +0200 |
commit | 6e702a5dcbe1d38cf479931dd2e2a3da884143f0 (patch) | |
tree | 069cc3a88b33e1518a643c0a56176cbd0adf1b3a /fs/xfs/xfs_symlink.c | |
parent | xfs: use ->t_dfops for all xfs_bmapi_write() callers (diff) | |
download | linux-6e702a5dcbe1d38cf479931dd2e2a3da884143f0.tar.xz linux-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 <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_symlink.c')
-rw-r--r-- | fs/xfs/xfs_symlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_symlink.c b/fs/xfs/xfs_symlink.c index 6825a31727d1..2b6bcfd39c14 100644 --- a/fs/xfs/xfs_symlink.c +++ b/fs/xfs/xfs_symlink.c @@ -291,7 +291,7 @@ xfs_symlink( error = xfs_bmapi_write(tp, ip, first_fsb, fs_blocks, XFS_BMAPI_METADATA, &first_block, resblks, - mval, &nmaps, tp->t_dfops); + mval, &nmaps); if (error) goto out_bmap_cancel; |