📄 changelog
字号:
Work sponsored by SGI- Set inode->i_size to correct size for symlinks Thanks to Jeremy Fitzhardinge <jeremy@goop.org>- Only give lookup() method to directories to comply with new VFS assumptions- Remove unnecessary tests in symlink methods- Don't kill existing block ops in <devfs_read_inode>- Restore auto-ownership for /dev/pty/m*===============================================================================Changes for patch v163Work sponsored by SGI- Don't create missing directories in <devfs_find_handle>- Removed Documentation/filesystems/devfs/mk-devlinks- Updated Documentation/filesystems/devfs/README===============================================================================Changes for patch v164Work sponsored by SGI- Fixed CONFIG_DEVFS breakage in drivers/char/serial.c introduced in linux-2.3.99-pre6-7===============================================================================Changes for patch v165Work sponsored by SGI- Ported to kernel 2.3.99-pre6===============================================================================Changes for patch v166Work sponsored by SGI- Added CONFIG_DEVFS_MOUNT===============================================================================Changes for patch v167Work sponsored by SGI- Updated Documentation/filesystems/devfs/README- Updated sample modules.conf===============================================================================Changes for patch v168Work sponsored by SGI- Disabled multi-mount capability (use VFS bindings instead)- Updated README from master HTML file===============================================================================Changes for patch v169Work sponsored by SGI- Removed multi-mount code- Removed compatibility macros: VFS has changed too much===============================================================================Changes for patch v170Work sponsored by SGI- Updated README from master HTML file- Merged devfs inode into devfs entry===============================================================================Changes for patch v171Work sponsored by SGI- Updated sample modules.conf- Removed dead code in <devfs_register> which used to call <free_dentries>- Ported to kernel 2.4.0-test2-pre3===============================================================================Changes for patch v172Work sponsored by SGI- Changed interface to <devfs_register>- Changed interface to <devfs_register_series>===============================================================================Changes for patch v173Work sponsored by SGI- Simplified interface to <devfs_mk_symlink>- Simplified interface to <devfs_mk_dir>- Simplified interface to <devfs_find_handle>===============================================================================Changes for patch v174Work sponsored by SGI- Updated README from master HTML file===============================================================================Changes for patch v175Work sponsored by SGI- DocBook update for fs/devfs/base.c Thanks to Tim Waugh <twaugh@redhat.com>- Removed stale fs/tunnel.c (was never used or completed)===============================================================================Changes for patch v176Work sponsored by SGI- Updated ToDo list- Removed sample modules.conf: now distributed with devfsd- Updated README from master HTML file- Ported to kernel 2.4.0-test3-pre4 (which had devfs-patch-v174)===============================================================================Changes for patch v177- Updated README from master HTML file- Documentation cleanups- Ensure <devfs_generate_path> terminates string for root entry Thanks to Tim Jansen <tim@tjansen.de>- Exported <devfs_get_name> to modules- Make <devfs_mk_symlink> send events to devfsd- Cleaned up option processing in <devfs_setup>- Fixed bugs in handling symlinks: could leak or cause Oops- Cleaned up directory handling by separating fops Thanks to Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk>===============================================================================Changes for patch v178- Fixed handling of inverted options in <devfs_setup>===============================================================================Changes for patch v179- Adjusted <try_modload> to account for <devfs_generate_path> fix===============================================================================Changes for patch v180- Fixed !CONFIG_DEVFS_FS stub declaration of <devfs_get_info>===============================================================================Changes for patch v181- Answered question posed by Al Viro and removed his comments from <devfs_open>- Moved setting of registered flag after other fields are changed- Fixed race between <devfsd_close> and <devfsd_notify_one>- Global VFS changes added bogus BKL to devfsd_close(): removed- Widened locking in <devfs_readlink> and <devfs_follow_link>- Replaced <devfsd_read> stack usage with <devfsd_ioctl> kmalloc- Simplified locking in <devfsd_ioctl> and fixed memory leak===============================================================================Changes for patch v182- Created <devfs_*alloc_major> and <devfs_*alloc_devnum>- Removed broken devnum allocation and use <devfs_alloc_devnum>- Fixed old devnum leak by calling new <devfs_dealloc_devnum>- Created <devfs_*alloc_unique_number>- Fixed number leak for /dev/cdroms/cdrom%d- Fixed number leak for /dev/discs/disc%d===============================================================================Changes for patch v183- Fixed bug in <devfs_setup> which could hang boot process===============================================================================Changes for patch v184- Documentation typo fix for fs/devfs/util.c- Fixed drivers/char/stallion.c for devfs- Added DEVFSD_NOTIFY_DELETE event- Updated README from master HTML file- Removed #include <asm/segment.h> from fs/devfs/base.c===============================================================================Changes for patch v185- Made <block_semaphore> and <char_semaphore> in fs/devfs/util.c private- Fixed inode table races by removing it and using inode->u.generic_ip instead- Moved <devfs_read_inode> into <get_vfs_inode>- Moved <devfs_write_inode> into <devfs_notify_change>===============================================================================Changes for patch v186- Fixed race in <devfs_do_symlink> for uni-processor- Updated README from master HTML file===============================================================================Changes for patch v187- Fixed drivers/char/stallion.c for devfs- Fixed drivers/char/rocket.c for devfs- Fixed bug in <devfs_alloc_unique_number>: limited to 128 numbers===============================================================================Changes for patch v188- Updated major masks in fs/devfs/util.c up to Linus' "no new majors" proclamation. Block: were 126 now 122 free, char: were 26 now 19 free- Updated README from master HTML file- Removed remnant of multi-mount support in <devfs_mknod>- Removed unused DEVFS_FL_SHOW_UNREG flag===============================================================================Changes for patch v189- Removed nlink field from struct devfs_inode- Removed auto-ownership for /dev/pty/* (BSD ptys) and used DEVFS_FL_CURRENT_OWNER|DEVFS_FL_NO_PERSISTENCE for /dev/pty/s* (just like Unix98 pty slaves) and made /dev/pty/m* rw-rw-rw- access===============================================================================Changes for patch v190- Updated README from master HTML file- Replaced BKL with global rwsem to protect symlink data (quick and dirty hack)===============================================================================Changes for patch v191- Replaced global rwsem for symlink with per-link refcount===============================================================================Changes for patch v192- Removed unnecessary #ifdef CONFIG_DEVFS_FS from arch/i386/kernel/mtrr.c- Ported to kernel 2.4.10-pre11- Set inode->i_mapping->a_ops for block nodes in <get_vfs_inode>===============================================================================Changes for patch v193- Went back to global rwsem for symlinks (refcount scheme no good)===============================================================================Changes for patch v194- Fixed overrun in <devfs_link> by removing function (not needed)- Updated README from master HTML file===============================================================================Changes for patch v195- Fixed buffer underrun in <try_modload>- Moved down_read() from <search_for_entry_in_dir> to <find_entry>===============================================================================Changes for patch v196- Fixed race in <devfsd_ioctl> when setting event mask Thanks to Kari Hurtta <hurtta@leija.mh.fmi.fi>- Avoid deadlock in <devfs_follow_link> by using temporary buffer===============================================================================Changes for patch v197- First release of new locking code for devfs core (v1.0)- Fixed bug in drivers/cdrom/cdrom.c===============================================================================Changes for patch v198- Discard temporary buffer, now use "%s" for dentry names- Don't generate path in <try_modload>: use fake entry instead- Use "existing" directory in <_devfs_make_parent_for_leaf>- Use slab cache rather than fixed buffer for devfsd events===============================================================================Changes for patch v199- Removed obsolete usage of DEVFS_FL_NO_PERSISTENCE- Send DEVFSD_NOTIFY_REGISTERED events in <devfs_mk_dir>- Fixed locking bug in <devfs_d_revalidate_wait> due to typo- Do not send CREATE, CHANGE, ASYNC_OPEN or DELETE events from devfsd or children===============================================================================Changes for patch v200- Ported to kernel 2.5.1-pre2===============================================================================Changes for patch v201- Fixed bug in <devfsd_read>: was dereferencing freed pointer===============================================================================Changes for patch v202- Fixed bug in <devfsd_close>: was dereferencing freed pointer- Added process group check for devfsd privileges===============================================================================Changes for patch v203- Use SLAB_ATOMIC in <devfsd_notify_de> from <devfs_d_delete>===============================================================================Changes for patch v204- Removed long obsolete rc.devfs- Return old entry in <devfs_mk_dir> for 2.4.x kernels- Updated README from master HTML file- Increment refcount on module in <check_disc_changed>- Created <devfs_get_handle> and exported <devfs_put>- Increment refcount on module in <devfs_get_ops>- Created <devfs_put_ops> and used where needed to fix races- Added clarifying comments in response to preliminary EMC code review- Added poisoning to <devfs_put>- Improved debugging messages- Fixed unregister bugs in drivers/md/lvm-fs.c===============================================================================Changes for patch v205- Corrected (made useful) debugging message in <unregister>- Moved <kmem_cache_create> in <mount_devfs_fs> to <init_devfs_fs>- Fixed drivers/md/lvm-fs.c to create "lvm" entry- Added magic number to guard against scribbling drivers- Only return old entry in <devfs_mk_dir> if a directory- Defined macros for error and debug messages- Updated README from master HTML file===============================================================================Changes for patch v206- Added support for multiple Compaq cpqarray controllers- Fixed (rare, old) race in <devfs_lookup>===============================================================================Changes for patch v207- Fixed deadlock bug in <devfs_d_revalidate_wait>- Tag VFS deletable in <devfs_mk_symlink> if handle ignored- Updated README from master HTML file===============================================================================Changes for patch v208- Added KERN_* to remaining messages- Cleaned up declaration of <stat_read>- Updated README from master HTML file===============================================================================Changes for patch v209- Updated README from master HTML file- Removed silently introduced calls to lock_kernel() and unlock_kernel() due to recent VFS locking changes. BKL isn't required in devfs - Changed <devfs_rmdir> to allow later additions if not yet empty- Added calls to <devfs_register_partitions> in drivers/block/blkpc.c <add_partition> and <del_partition>- Fixed bug in <devfs_alloc_unique_number>: was clearing beyond bitfield- Fixed bitfield data type for <devfs_*alloc_devnum>- Made major bitfield type and initialiser 64 bit safe===============================================================================Changes for patch v210- Updated fs/devfs/util.c to fix shift warning on 64 bit machines Thanks to Anton Blanchard <anton@samba.org>- Updated README from master HTML file===============================================================================Changes for patch v211- Do not put miscellaneous character devices in /dev/misc if they specify their own directory (i.e. contain a '/' character)- Copied macro for error messages from fs/devfs/base.c to fs/devfs/util.c and made use of this macro- Removed 2.4.x compatibility code from fs/devfs/base.c===============================================================================Changes for patch v212- Added BKL to <devfs_open> because drivers still need it===============================================================================Changes for patch v213- Protected <scan_dir_for_removable> and <get_removable_partition> from changing directory contents===============================================================================Changes for patch v214- Switched to ISO C structure field initialisers- Switch to set_current_state() and move before add_wait_queue()- Updated README from master HTML file- Fixed devfs entry leak in <devfs_readdir> when *readdir fails===============================================================================Changes for patch v215- Created <devfs_find_and_unregister>- Switched many functions from <devfs_find_handle> to <devfs_find_and_unregister>- Switched many functions from <devfs_find_handle> to <devfs_get_handle>===============================================================================Changes for patch v216- Switched arch/ia64/sn/io/hcl.c from <devfs_find_handle> to <devfs_get_handle>- Removed deprecated <devfs_find_handle>===============================================================================Changes for patch v217- Exported <devfs_find_and_unregister> and <devfs_only> to modules- Updated README from master HTML file- Fixed module unload race in <devfs_open>===============================================================================Changes for patch v218- Removed DEVFS_FL_AUTO_OWNER flag- Switched lingering structure field initialiser to ISO C- Added locking when setting/clearing flags- Documentation fix in fs/devfs/util.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -