aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2018-04-03 11:13:58 -0500
committerEric Sandeen <sandeen@sandeen.net>2018-04-03 11:13:58 -0500
commita8502cc4b7e7a9ae829df1446887d98f87a441a8 (patch)
treec3dceb03c6aa9d96817b8b5c1e004e5d0712c0d1
parent31506b322e438104a52cdafd824d3e0e77736ea7 (diff)
downloadxfsprogs-dev-a8502cc4b7e7a9ae829df1446887d98f87a441a8.tar.gz
libxfs: warn about deprecation of irix, freebsd, darwin
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>
-rw-r--r--libxfs/darwin.c4
-rw-r--r--libxfs/freebsd.c4
-rw-r--r--libxfs/irix.c4
3 files changed, 12 insertions, 0 deletions
diff --git a/libxfs/darwin.c b/libxfs/darwin.c
index 16d2c35ccb..396477ef64 100644
--- a/libxfs/darwin.c
+++ b/libxfs/darwin.c
@@ -26,6 +26,10 @@
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)
{
diff --git a/libxfs/freebsd.c b/libxfs/freebsd.c
index 5b9ef297ec..d9fc8377e1 100644
--- a/libxfs/freebsd.c
+++ b/libxfs/freebsd.c
@@ -26,6 +26,10 @@
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)
{
diff --git a/libxfs/irix.c b/libxfs/irix.c
index 0f14aec762..4ad68d5936 100644
--- a/libxfs/irix.c
+++ b/libxfs/irix.c
@@ -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)
{