From 9986e9f5446fb675a6eabb16400503d5a23fd5a9 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 19 Jan 2016 09:04:44 -0800 Subject: [PATCH] Linux 4.5 compat: pfn_t typedef The pfn_t typedef was inherited from Illumos but never directly used by any libspl consumers. This doesn't cause any issues in user space but for consistency with the kernel build it has been removed. See torvalds/linux/commit/34c0fd54. Signed-off-by: Brian Behlendorf Signed-off-by: Tim Chase Signed-off-by: Chunwei Chen Issue #4228 --- lib/libspl/include/sys/types.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/libspl/include/sys/types.h b/lib/libspl/include/sys/types.h index bd34dec321..9816345a89 100644 --- a/lib/libspl/include/sys/types.h +++ b/lib/libspl/include/sys/types.h @@ -53,7 +53,6 @@ typedef u_longlong_t u_offset_t; typedef u_longlong_t len_t; typedef longlong_t diskaddr_t; -typedef ulong_t pfn_t; /* page frame number */ typedef ulong_t pgcnt_t; /* number of pages */ typedef long spgcnt_t; /* signed number of pages */