From: Eric Sandeen Date: Thu, 12 Jul 2018 05:26:36 +0000 (-0700) Subject: xfs: remove unused iolock arg from xfs_break_dax_layouts X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a4722a643fbb9e1466491fbe5a3c44591805dcc8;p=linux.git xfs: remove unused iolock arg from xfs_break_dax_layouts Signed-off-by: Eric Sandeen Reviewed-by: Allison Henderson Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong --- diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index a3e7767a57158..6b31f41eafa26 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 */