Fixed broken handling of the new file_descriptor::open_count across
team boundaries; if you didn't actually call close() from within the application, the close-hook of the file system was never called. Also, you could close files of other teams (ie. invoke close on a shared file descriptor). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11892 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -58,7 +58,7 @@ status_t vfs_bootstrap_file_systems(void);
|
||||
status_t vfs_mount_boot_file_system(struct kernel_args *args);
|
||||
void vfs_exec_io_context(void *context);
|
||||
void *vfs_new_io_context(void *parentContext);
|
||||
int vfs_free_io_context(void *context);
|
||||
status_t vfs_free_io_context(void *context);
|
||||
|
||||
struct rlimit;
|
||||
int vfs_getrlimit(int resource, struct rlimit * rlp);
|
||||
|
||||
Reference in New Issue
Block a user