From: Andrew Morton Cc: Steven French Cc: Jan Blunck Signed-off-by: Andrew Morton --- fs/cifs/cifs_dfs_ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/cifs/cifs_dfs_ref.c~introduce-path_put-cifs-fix fs/cifs/cifs_dfs_ref.c --- a/fs/cifs/cifs_dfs_ref.c~introduce-path_put-cifs-fix +++ a/fs/cifs/cifs_dfs_ref.c @@ -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; } _