Changeset 3b3e776 in mainline for uspace/srv/vfs/vfs_file.c
- Timestamp:
- 2010-02-05T10:57:50Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0358da0
- Parents:
- 3f085132 (diff), b4cbef1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_file.c
r3f085132 r3b3e776 42 42 #include <bool.h> 43 43 #include <fibril.h> 44 #include <fibril_sync .h>44 #include <fibril_synch.h> 45 45 #include "vfs.h" 46 46 … … 72 72 } 73 73 return true; 74 } 75 76 /** Cleanup the table of open files. */ 77 void vfs_files_done(void) 78 { 79 int i; 80 81 if (!files) 82 return; 83 84 for (i = 0; i < MAX_OPEN_FILES; i++) { 85 if (files[i]) { 86 (void) vfs_close_internal(files[i]); 87 (void) vfs_fd_free(i); 88 } 89 } 90 91 free(files); 74 92 } 75 93
Note:
See TracChangeset
for help on using the changeset viewer.