Introduce path_put()
[pandora-kernel.git] / fs / autofs4 / root.c
index a119c86..a54a946 100644 (file)
@@ -383,7 +383,7 @@ done:
        return NULL;
 
 out_error:
-       path_release(nd);
+       path_put(&nd->path);
        return ERR_PTR(status);
 }