Skip to contentSkip to conversation

xfs: remove unused iolock arg from xfs_break_dax_layouts

PATCH In review Eric Sandeen 2 participants 2 messages Jun 20, 2018 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfs: remove unused iolock arg from xfs_break_dax_layouts

---

For The Tidiness.

fs/xfs/xfs_file.c +1 -2
index a3e7767..6b31f41 100644
@@ -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 */
Reviewed-by on v1 1/1
#1 lore raw

Looks fine. Thx!

Quoted 32 lines · Eric Sandeen

---

For The Tidiness.

fs/xfs/xfs_file.c +1 -3
index a3e7767..6b31f41 100644
@@ -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 [email protected]
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=