Commit ee7ae3ca authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Fix missing '!' in set_fs_altroot()

parent 24237d11
......@@ -686,7 +686,7 @@ void set_fs_altroot(void)
if (!emul)
goto set_it;
err = path_lookup(emul, LOOKUP_FOLLOW|LOOKUP_DIRECTORY|LOOKUP_NOALT, &nd);
if (err) {
if (!err) {
mnt = nd.mnt;
dentry = nd.dentry;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment