diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2016-09-21 16:21:36 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-02-06 15:00:43 +0100 |
commit | 4e8431110eba96f1ff7b6ae968a718276af681d3 (patch) | |
tree | b75080c2315d11a3a5d82060cb8d1f6522aa92f8 /backport | |
parent | 9eb6d7765049ed9ca98b2bf9384f3cb6d2adf272 (diff) |
backport: remove current_user_ns backport
In v4.6, the current_user_ns macro was changed to a function, so the
ifdef doesn't work. To make things easy, this backport is not needed
anymore, since current_user_ns was introduced before v3.0 and we don't
support anything earlier than that.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport')
-rw-r--r-- | backport/backport-include/linux/cred.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/backport/backport-include/linux/cred.h b/backport/backport-include/linux/cred.h deleted file mode 100644 index 2fbcf011..00000000 --- a/backport/backport-include/linux/cred.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef __BACKPORT_LINUX_CRED_H -#define __BACKPORT_LINUX_CRED_H -#include_next <linux/cred.h> -#include <linux/version.h> - -#ifndef current_user_ns -#define current_user_ns() (current->nsproxy->user_ns) -#endif - -#endif /* __BACKPORT_LINUX_CRED_H */ |