From: Steve French Date: Mon, 20 Oct 2008 00:44:19 +0000 (+0000) Subject: [CIFS] undo changes in cifs_rename_pending_delete if it errors out X-Git-Tag: v2.6.28-rc1~19^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3270958b717a13d0228803254609c19184854b9b;p=pandora-kernel.git [CIFS] undo changes in cifs_rename_pending_delete if it errors out 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 Signed-off-by: Steve French --- Reading git-diff-tree failed