diff --git a/[refs] b/[refs] index 62f75ad9d56a..ec30baa6cf68 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a47afb0f9d794d525a372c8d69902147cc88222a +refs/heads/master: a05f7b15deb2903d9f0b5df33ddd4d186d5ecac1 diff --git a/trunk/include/linux/pid_namespace.h b/trunk/include/linux/pid_namespace.h index b9a17e08ff0f..ddb9a4c95968 100644 --- a/trunk/include/linux/pid_namespace.h +++ b/trunk/include/linux/pid_namespace.h @@ -24,9 +24,10 @@ struct pid_namespace { extern struct pid_namespace init_pid_ns; -static inline void get_pid_ns(struct pid_namespace *ns) +static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) { kref_get(&ns->kref); + return ns; } extern struct pid_namespace *copy_pid_ns(unsigned long flags, struct pid_namespace *ns);