Changeset 25268
- Timestamp:
- 04/29/08 20:06:17 (7 months ago)
- Location:
- haiku/trunk
- Files:
-
- 5 modified
-
headers/os/drivers/fs_interface.h (modified) (1 diff)
-
headers/private/fs_shell/fssh_fs_interface.h (modified) (1 diff)
-
src/system/kernel/fs/devfs.cpp (modified) (2 diffs)
-
src/system/kernel/fs/fifo.cpp (modified) (4 diffs)
-
src/system/kernel/fs/vfs.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
haiku/trunk/headers/os/drivers/fs_interface.h
r24816 r25268 135 135 int flags); 136 136 status_t (*select)(fs_volume *volume, fs_vnode *vnode, void *cookie, 137 uint8 event, uint32 ref,selectsync *sync);137 uint8 event, selectsync *sync); 138 138 status_t (*deselect)(fs_volume *volume, fs_vnode *vnode, void *cookie, 139 139 uint8 event, selectsync *sync); -
haiku/trunk/headers/private/fs_shell/fssh_fs_interface.h
r24816 r25268 155 155 fssh_fs_cookie cookie, int flags); 156 156 fssh_status_t (*select)(fssh_fs_volume *volume, fssh_fs_vnode *vnode, 157 fssh_fs_cookie cookie, uint8_t event, uint32_t ref, 158 fssh_selectsync *sync); 157 fssh_fs_cookie cookie, uint8_t event, fssh_selectsync *sync); 159 158 fssh_status_t (*deselect)(fssh_fs_volume *volume, fssh_fs_vnode *vnode, 160 159 fssh_fs_cookie cookie, uint8_t event, fssh_selectsync *sync); -
haiku/trunk/src/system/kernel/fs/devfs.cpp
r24827 r25268 2305 2305 static status_t 2306 2306 devfs_select(fs_volume *_volume, fs_vnode *_vnode, void *_cookie, 2307 uint8 event, uint32 ref,selectsync *sync)2307 uint8 event, selectsync *sync) 2308 2308 { 2309 2309 struct devfs_vnode *vnode = (struct devfs_vnode *)_vnode->private_node; … … 2317 2317 return notify_select_event((selectsync*)sync, event); 2318 2318 2319 return vnode->stream.u.dev.info->select(cookie->device_cookie, event, ref,2319 return vnode->stream.u.dev.info->select(cookie->device_cookie, event, 0, 2320 2320 (selectsync*)sync); 2321 2321 } -
haiku/trunk/src/system/kernel/fs/fifo.cpp
r25111 r25268 157 157 int32 WriterCount() const { return fWriterCount; } 158 158 159 status_t Select(uint8 event, uint32 ref, selectsync *sync, 160 int openMode); 159 status_t Select(uint8 event, selectsync *sync, int openMode); 161 160 status_t Deselect(uint8 event, selectsync *sync, int openMode); 162 161 … … 612 611 613 612 status_t 614 Inode::Select(uint8 event, uint32 ref,selectsync *sync, int openMode)613 Inode::Select(uint8 event, selectsync *sync, int openMode) 615 614 { 616 615 bool writer = true; … … 902 901 static status_t 903 902 fifo_select(fs_volume *_volume, fs_vnode *_node, void *_cookie, 904 uint8 event, uint32 ref,selectsync *sync)903 uint8 event, selectsync *sync) 905 904 { 906 905 file_cookie *cookie = (file_cookie *)_cookie; … … 912 911 913 912 BenaphoreLocker locker(inode->RequestLock()); 914 return inode->Select(event, ref,sync, cookie->open_mode);913 return inode->Select(event, sync, cookie->open_mode); 915 914 } 916 915 -
haiku/trunk/src/system/kernel/fs/vfs.cpp
r25260 r25268 4829 4829 return notify_select_event(sync, event); 4830 4830 4831 return FS_CALL(vnode, select, descriptor->cookie, event, 0,sync);4831 return FS_CALL(vnode, select, descriptor->cookie, event, sync); 4832 4832 } 4833 4833
