[CIFS] undo changes in cifs_rename_pending_delete if it errors out
authorSteve French <sfrench@us.ibm.com>
Mon, 20 Oct 2008 00:44:19 +0000 (00:44 +0000)
committerSteve French <sfrench@us.ibm.com>
Mon, 20 Oct 2008 00:44:19 +0000 (00:44 +0000)
The cifs_rename_pending_delete process involves multiple steps. If it
fails and we're going to return error, we don't want to leave things in
a half-finished state. Add code to the function to undo changes if
a call fails.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>

No differences found