aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2018-07-11 22:26:36 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-11 22:26:36 -0700
commita4722a643fbb9e1466491fbe5a3c44591805dcc8 (patch)
tree32ab92ca6daa2835f33547887a2eabac7a0e3c5d /fs/xfs
parentxfs: kill __xfs_buf_submit_common() (diff)
downloadlinux-dev-a4722a643fbb9e1466491fbe5a3c44591805dcc8.tar.xz
linux-dev-a4722a643fbb9e1466491fbe5a3c44591805dcc8.zip
xfs: remove unused iolock arg from xfs_break_dax_layouts
Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Allison Henderson <allison.henderson@oracle.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c
index a3e7767a5715..6b31f41eafa2 100644
--- a/fs/xfs/xfs_file.c
+++ b/fs/xfs/xfs_file.c
@@ -735,7 +735,6 @@ xfs_wait_dax_page(
static int
xfs_break_dax_layouts(
struct inode *inode,
- uint iolock,
bool *did_unlock)
{
struct page *page;
@@ -766,7 +765,7 @@ xfs_break_layouts(
retry = false;
switch (reason) {
case BREAK_UNMAP:
- error = xfs_break_dax_layouts(inode, *iolock, &retry);
+ error = xfs_break_dax_layouts(inode, &retry);
if (error || retry)
break;
/* fall through */