]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/proc/root.c
Merge branch 'vfree' into for-next
[karo-tx-linux.git] / fs / proc / root.c
index c6e9fac26bace4e9b63bd57dce624589dc67dfd7..20834b3c8ea3e312dbaffe5347d99dbfb3eef154 100644 (file)
@@ -137,6 +137,8 @@ static void proc_kill_sb(struct super_block *sb)
        struct pid_namespace *ns;
 
        ns = (struct pid_namespace *)sb->s_fs_info;
+       if (ns->proc_self)
+               dput(ns->proc_self);
        kill_anon_super(sb);
        put_pid_ns(ns);
 }