]> Git Repo - linux.git/commit - fs/cifs/inode.c
[CIFS] undo changes in cifs_rename_pending_delete if it errors out
authorSteve French <[email protected]>
Mon, 20 Oct 2008 00:44:19 +0000 (00:44 +0000)
committerSteve French <[email protected]>
Mon, 20 Oct 2008 00:44:19 +0000 (00:44 +0000)
commit3270958b717a13d0228803254609c19184854b9b
tree50d1affc68add3e89798f647bb6abc7532f62e51
parent9a8165fce724d1aba21e2c713ac6ba11dbfecafa
[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 <[email protected]>
Signed-off-by: Steve French <[email protected]>
fs/cifs/CHANGES
fs/cifs/cifsfs.h
fs/cifs/inode.c
This page took 0.058834 seconds and 4 git commands to generate.