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>
This commit is contained in:
Eric Sandeen 2018-07-11 22:26:36 -07:00 committed by Darrick J. Wong
parent bb00b6f1e2
commit a4722a643f
1 changed files with 1 additions and 2 deletions

View File

@ -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 */