Changeset 25268

Show
Ignore:
Timestamp:
04/29/08 20:06:17 (7 months ago)
Author:
bonefish
Message:

Removed superfluous uint32 ref parameter from select() FS hook.

Location:
haiku/trunk
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • haiku/trunk/headers/os/drivers/fs_interface.h

    r24816 r25268  
    135135                                int flags); 
    136136        status_t (*select)(fs_volume *volume, fs_vnode *vnode, void *cookie, 
    137                                 uint8 event, uint32 ref, selectsync *sync); 
     137                                uint8 event, selectsync *sync); 
    138138        status_t (*deselect)(fs_volume *volume, fs_vnode *vnode, void *cookie, 
    139139                                uint8 event, selectsync *sync); 
  • haiku/trunk/headers/private/fs_shell/fssh_fs_interface.h

    r24816 r25268  
    155155                                fssh_fs_cookie cookie, int flags); 
    156156        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); 
    159158        fssh_status_t (*deselect)(fssh_fs_volume *volume, fssh_fs_vnode *vnode, 
    160159                                fssh_fs_cookie cookie, uint8_t event, fssh_selectsync *sync); 
  • haiku/trunk/src/system/kernel/fs/devfs.cpp

    r24827 r25268  
    23052305static status_t 
    23062306devfs_select(fs_volume *_volume, fs_vnode *_vnode, void *_cookie, 
    2307         uint8 event, uint32 ref, selectsync *sync) 
     2307        uint8 event, selectsync *sync) 
    23082308{ 
    23092309        struct devfs_vnode *vnode = (struct devfs_vnode *)_vnode->private_node; 
     
    23172317                return notify_select_event((selectsync*)sync, event); 
    23182318 
    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, 
    23202320                (selectsync*)sync); 
    23212321} 
  • haiku/trunk/src/system/kernel/fs/fifo.cpp

    r25111 r25268  
    157157                int32           WriterCount() const { return fWriterCount; } 
    158158 
    159                 status_t        Select(uint8 event, uint32 ref, selectsync *sync, 
    160                                                 int openMode); 
     159                status_t        Select(uint8 event, selectsync *sync, int openMode); 
    161160                status_t        Deselect(uint8 event, selectsync *sync, int openMode); 
    162161 
     
    612611 
    613612status_t 
    614 Inode::Select(uint8 event, uint32 ref, selectsync *sync, int openMode) 
     613Inode::Select(uint8 event, selectsync *sync, int openMode) 
    615614{ 
    616615        bool writer = true; 
     
    902901static status_t 
    903902fifo_select(fs_volume *_volume, fs_vnode *_node, void *_cookie, 
    904         uint8 event, uint32 ref, selectsync *sync) 
     903        uint8 event, selectsync *sync) 
    905904{ 
    906905        file_cookie *cookie = (file_cookie *)_cookie; 
     
    912911 
    913912        BenaphoreLocker locker(inode->RequestLock()); 
    914         return inode->Select(event, ref, sync, cookie->open_mode); 
     913        return inode->Select(event, sync, cookie->open_mode); 
    915914} 
    916915 
  • haiku/trunk/src/system/kernel/fs/vfs.cpp

    r25260 r25268  
    48294829                return notify_select_event(sync, event); 
    48304830 
    4831         return FS_CALL(vnode, select, descriptor->cookie, event, 0, sync); 
     4831        return FS_CALL(vnode, select, descriptor->cookie, event, sync); 
    48324832} 
    48334833