]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - spl/include/sys/cred.h
UBUNTU: SAUCE: (noup) Update spl to 0.7.3-1ubuntu1, zfs to 0.7.3-1ubuntu1
[mirror_ubuntu-bionic-kernel.git] / spl / include / sys / cred.h
index 480e268f1dfa685510ca4aa744ca68104ac1d899..2ad7115e0a3b22c7d287686aee4c7e5696d98065 100644 (file)
@@ -41,18 +41,6 @@ typedef struct cred cred_t;
 
 #ifdef HAVE_KUIDGID_T
 
-/*
- * Linux 3.8+ uses typedefs to redefine uid_t and gid_t. We have to rename the
- * typedefs to recover the original types. We then can use them provided that
- * we are careful about translating from k{g,u}id_t to the original versions
- * and vice versa.
- */
-#define        uid_t           xuid_t
-#define        gid_t           xgid_t
-#include <linux/uidgid.h>
-#undef uid_t
-#undef gid_t
-
 #define        KUID_TO_SUID(x)         (__kuid_val(x))
 #define        KGID_TO_SGID(x)         (__kgid_val(x))
 #define        SUID_TO_KUID(x)         (KUIDT_INIT(x))