diff options
Diffstat (limited to 'include/linux/cred.h')
-rw-r--r-- | include/linux/cred.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/cred.h b/include/linux/cred.h index 0142aacb70b7..abb2cd50f6b2 100644 --- a/include/linux/cred.h +++ b/include/linux/cred.h | |||
@@ -344,10 +344,8 @@ static inline void put_cred(const struct cred *_cred) | |||
344 | extern struct user_namespace init_user_ns; | 344 | extern struct user_namespace init_user_ns; |
345 | #ifdef CONFIG_USER_NS | 345 | #ifdef CONFIG_USER_NS |
346 | #define current_user_ns() (current_cred_xxx(user_ns)) | 346 | #define current_user_ns() (current_cred_xxx(user_ns)) |
347 | #define task_user_ns(task) (task_cred_xxx((task), user_ns)) | ||
348 | #else | 347 | #else |
349 | #define current_user_ns() (&init_user_ns) | 348 | #define current_user_ns() (&init_user_ns) |
350 | #define task_user_ns(task) (&init_user_ns) | ||
351 | #endif | 349 | #endif |
352 | 350 | ||
353 | 351 | ||