init: add an init_unlink helper
[linux-2.6-microblaze.git] / init / do_mounts_rd.c
index d4255c1..ac021ae 100644 (file)
@@ -272,7 +272,7 @@ noclose_input:
        fput(out_file);
 out:
        kfree(buf);
-       ksys_unlink("/dev/ram");
+       init_unlink("/dev/ram");
        return res;
 }