diff options
author | Steve French <sfrench@us.ibm.com> | 2008-10-19 20:44:19 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-10-19 20:44:19 -0400 |
commit | 3270958b717a13d0228803254609c19184854b9b (patch) | |
tree | 50d1affc68add3e89798f647bb6abc7532f62e51 /fs/cifs/CHANGES | |
parent | 9a8165fce724d1aba21e2c713ac6ba11dbfecafa (diff) |
[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 <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/CHANGES')
-rw-r--r-- | fs/cifs/CHANGES | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES index 06e521a945c..a7255751ffb 100644 --- a/fs/cifs/CHANGES +++ b/fs/cifs/CHANGES | |||
@@ -1,3 +1,10 @@ | |||
1 | Version 1.55 | ||
2 | ------------ | ||
3 | Various fixes to make delete of open files behavior more predictable | ||
4 | (when delete of an open file fails we mark the file as "delete-on-close" | ||
5 | in a way that more servers accept, but only if we can first rename the | ||
6 | file to a temporary name) | ||
7 | |||
1 | Version 1.54 | 8 | Version 1.54 |
2 | ------------ | 9 | ------------ |
3 | Fix premature write failure on congested networks (we would give up | 10 | Fix premature write failure on congested networks (we would give up |
@@ -13,6 +20,7 @@ on dns_upcall (resolving DFS referralls). Fix plain text password | |||
13 | authentication (requires setting SecurityFlags to 0x30030 to enable | 20 | authentication (requires setting SecurityFlags to 0x30030 to enable |
14 | lanman and plain text though). Fix writes to be at correct offset when | 21 | lanman and plain text though). Fix writes to be at correct offset when |
15 | file is open with O_APPEND and file is on a directio (forcediretio) mount. | 22 | file is open with O_APPEND and file is on a directio (forcediretio) mount. |
23 | Fix bug in rewinding readdir directory searches. Add nodfs mount option. | ||
16 | 24 | ||
17 | Version 1.53 | 25 | Version 1.53 |
18 | ------------ | 26 | ------------ |