diff mbox

xfs: remove unused iolock arg from xfs_break_dax_layouts

Message ID 81e4bec1-e555-a351-444d-d7d69a2bf557@redhat.com (mailing list archive)
State Accepted
Headers show

Commit Message

Eric Sandeen June 20, 2018, 2:54 a.m. UTC
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---

For The Tidiness.


--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Allison Henderson June 20, 2018, 3:12 a.m. UTC | #1
Looks fine.  Thx!
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>

On 06/19/2018 07:54 PM, Eric Sandeen wrote:
> Signed-off-by: Eric Sandeen <sandeen@redhat.com>
> ---
> 
> For The Tidiness.
> 
> diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c
> index a3e7767..6b31f41 100644
> --- a/fs/xfs/xfs_file.c
> +++ b/fs/xfs/xfs_file.c
> @@ -735,7 +735,6 @@
>   static int
>   xfs_break_dax_layouts(
>   	struct inode		*inode,
> -	uint			iolock,
>   	bool			*did_unlock)
>   {
>   	struct page		*page;
> @@ -766,7 +765,7 @@
>   		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 */
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  https://urldefense.proofpoint.com/v2/url?u=http-3A__vger.kernel.org_majordomo-2Dinfo.html&d=DwICaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=LHZQ8fHvy6wDKXGTWcm97burZH5sQKHRDMaY1UthQxc&m=WMhCKiOlxc9EQ6zH0cZZlWsm67RdVmus-ZabP3x9Jok&s=n5BRtmR0UQ9UJ2KLZnSXPduglP4XIYYblfczenRkNwI&e=
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c
index a3e7767..6b31f41 100644
--- a/fs/xfs/xfs_file.c
+++ b/fs/xfs/xfs_file.c
@@ -735,7 +735,6 @@ 
 static int
 xfs_break_dax_layouts(
 	struct inode		*inode,
-	uint			iolock,
 	bool			*did_unlock)
 {
 	struct page		*page;
@@ -766,7 +765,7 @@ 
 		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 */