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:
parent
bb00b6f1e2
commit
a4722a643f
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue