Changeset 228 for branches/samba-3.2.x/source/smbd/close.c
- Timestamp:
- May 26, 2009, 9:44:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/smbd/close.c
r137 r228 107 107 { 108 108 NTSTATUS status = NT_STATUS_OK; 109 connection_struct *conn = fsp->conn; 110 109 111 110 if (fsp->fh->fd != -1) { 112 111 if(flush_write_cache(fsp, CLOSE_FLUSH) == -1) { … … 116 115 } 117 116 118 conn->num_files_open--;119 117 return status; 120 } 118 } 121 119 122 120 /**************************************************************************** … … 583 581 DEBUG(2,("%s closed file %s (numopen=%d) %s\n", 584 582 conn->user,fsp->fsp_name, 585 conn->num_files_open ,583 conn->num_files_open - 1, 586 584 nt_errstr(status) )); 587 585
Note:
See TracChangeset
for help on using the changeset viewer.