]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
libxfs: warn about deprecation of irix, freebsd, darwin
authorEric Sandeen <sandeen@redhat.com>
Tue, 3 Apr 2018 16:13:58 +0000 (11:13 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 3 Apr 2018 16:13:58 +0000 (11:13 -0500)
It's not clear that anyone is using these platforms or if
they even build at this point.  Get someone's attention if
they are trying to use it.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/darwin.c
libxfs/freebsd.c
libxfs/irix.c

index 16d2c35ccb720d10116523f7387dddfdb7f9df3b..396477ef649426e545b3250ec05d2972c44fe8bb 100644 (file)
 int platform_has_uuid = 1;
 extern char *progname;
 
+#warning "Darwin support is deprecated and planned for removal in July 2018"
+#warning "Contact linux-xfs@vger.kernel.org if you'd like to maintain this port"
+#error   "Remove this line if you'd like to continue the build"
+
 int
 platform_check_ismounted(char *name, char *block, struct stat *s, int verbose)
 {
index 5b9ef297ec8ae631a70ef51e5ac183c22b70fc88..d9fc8377e1cd406419f4a1dba400631b5ce12b77 100644 (file)
 int platform_has_uuid = 1;
 extern char *progname;
 
+#warning "FreeBSD support is deprecated and planned for removal in July 2018"
+#warning "Contact linux-xfs@vger.kernel.org if you'd like to maintain this port"
+#error   "Remove this line if you'd like to continue the build"
+
 int
 platform_check_ismounted(char *name, char *block, struct stat *s, int verbose)
 {
index 0f14aec762cfc7e041cc8bfb8f3168a07e36231b..4ad68d59364496e99a4e89bd56d9c4d09b069e4b 100644 (file)
@@ -24,6 +24,10 @@ int platform_has_uuid = 0;
 extern char *progname;
 extern int64_t findsize(char *);
 
+#warning "IRIX support is deprecated and planned for removal in July 2018"
+#warning "Contact linux-xfs@vger.kernel.org if you'd like to maintain this port"
+#error   "Remove this line if you'd like to continue the build"
+
 int
 platform_check_ismounted(char *name, char *block, struct stat *s, int verbose)
 {