]> git.proxmox.com Git - mirror_spl.git/commitdiff
Linux 4.5 compat: pfn_t typedef
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 19 Jan 2016 16:59:47 +0000 (08:59 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 20 Jan 2016 19:39:18 +0000 (11:39 -0800)
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 <behlendorf1@llnl.gov>
Signed-off-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Closes #524

include/sys/types.h

index ec0455cdcf6667cf042cabc47579bd43b146bae6..d718ca0fad45ea45f4a7eb2849162f8f33e45099 100644 (file)
@@ -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;