From: Brian Behlendorf Date: Tue, 19 Jan 2016 16:59:47 +0000 (-0800) Subject: Linux 4.5 compat: pfn_t typedef X-Git-Tag: spl-0.7.0-rc1~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de77e245902cc5bb6c22591d54e31c7647ff912f;p=spl Linux 4.5 compat: pfn_t typedef The pfn_t typedef was inherited from Illumos but never directly used by any SPL consumers. This didn't cause any issues until the Linux 4.5 kernel introduced a typedef of the same name. See torvalds/linux/commit/34c0fd54, this patch removes the unused Illumos version to prevent a conflict. Signed-off-by: Brian Behlendorf Signed-off-by: Tim Chase Signed-off-by: Chunwei Chen Closes #524 --- diff --git a/include/sys/types.h b/include/sys/types.h index ec0455c..d718ca0 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -58,7 +58,6 @@ typedef longlong_t diskaddr_t; typedef ushort_t o_mode_t; typedef uint_t major_t; typedef uint_t minor_t; -typedef ulong_t pfn_t; typedef ulong_t pgcnt_t; typedef long spgcnt_t; typedef short index_t;