[arch-commits] Commit in btrfs-progs/trunk (FS#58237.patch)

Sébastien Luttringer seblu at archlinux.org
Tue Apr 17 23:37:06 UTC 2018


    Date: Tuesday, April 17, 2018 @ 23:37:05
  Author: seblu
Revision: 322163

Add missing patch file

Added:
  btrfs-progs/trunk/FS#58237.patch

----------------+
 FS#58237.patch |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

Added: FS#58237.patch
===================================================================
--- FS#58237.patch	                        (rev 0)
+++ FS#58237.patch	2018-04-17 23:37:05 UTC (rev 322163)
@@ -0,0 +1,16 @@
+diff --git a/utils.c b/utils.c
+index e9cb3a82f..f867e5a7f 100644
+--- a/utils.c
++++ b/utils.c
+@@ -2484,11 +2484,6 @@ const char *subvol_strip_mountpoint(const char *mnt, const char *full_path)
+ 	if (!len)
+ 		return full_path;
+ 
+-	if ((strncmp(mnt, full_path, len) != 0) || (full_path[len] != '/')) {
+-		error("not on mount point: %s", mnt);
+-		exit(1);
+-	}
+-
+ 	if (mnt[len - 1] != '/')
+ 		len += 1;
+ 



More information about the arch-commits mailing list