Introduce path_put()
[sfrench/cifs-2.6.git] / fs / cifs / cifs_dfs_ref.c
index bcd53c2fe78132bab81095fe4e08051fb5390e9d..6ad447529961c0939c84b1eba822cb7076e3817d 100644 (file)
@@ -368,7 +368,7 @@ out:
        cFYI(1, ("leaving %s" , __FUNCTION__));
        return ERR_PTR(rc);
 out_err:
-       path_release(nd);
+       path_put(&nd->path);
        goto out;
 }