]> git.karo-electronics.de Git - linux-beck.git/blobdiff - fs/namespace.c
proc: convert /proc/$PID/oom_score to seq_file interface
[linux-beck.git] / fs / namespace.c
index 182bc41cd88711d593c4d997171c6ad483a87577..2a1447c946e7c212071eac5243a5538a499cd0fa 100644 (file)
@@ -798,7 +798,7 @@ static void commit_tree(struct mount *mnt, struct mount *shadows)
        list_splice(&head, n->list.prev);
 
        if (shadows)
-               hlist_add_after_rcu(&shadows->mnt_hash, &mnt->mnt_hash);
+               hlist_add_behind_rcu(&mnt->mnt_hash, &shadows->mnt_hash);
        else
                hlist_add_head_rcu(&mnt->mnt_hash,
                                m_hash(&parent->mnt, mnt->mnt_mountpoint));