xfs: remove unused iolock arg from xfs_break_dax_layouts
authorEric Sandeen <sandeen@redhat.com>
Thu, 12 Jul 2018 05:26:36 +0000 (22:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jul 2018 05:26:36 +0000 (22:26 -0700)
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>
fs/xfs/xfs_file.c

index a3e7767a571580d949fd5d73aae1695b69f22226..6b31f41eafa2683fe3a882e0f9805c7bb2a74fb5 100644 (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 */