[PATCH 09/10] xfs_repair: test XFS_SB_VERSION_SHAREDBIT only once

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove 2 of the 3 identical tests for XFS_SB_VERSION_SHAREDBIT

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
---
 repair/versions.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/repair/versions.c b/repair/versions.c
index e33bda2..e96ee5c 100644
--- a/repair/versions.c
+++ b/repair/versions.c
@@ -107,16 +107,6 @@ parse_sb_version(xfs_sb_t *sb)
 		return 1;
 	}
 
-	if (sb->sb_versionnum & XFS_SB_VERSION_SHAREDBIT) {
-		do_warn(_("Shared Version bit set. Not supported. Ever.\n"));
-		return 1;
-	}
-
-	if (sb->sb_versionnum & XFS_SB_VERSION_SHAREDBIT) {
-		do_warn(_("Shared Version bit set. Not supported. Ever.\n"));
-		return 1;
-	}
-
 	/*
 	 * ok, check to make sure that the sb isn't newer
 	 * than we are
-- 
1.8.3.1

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



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux