Loading Documentation/feature-removal-schedule.txt +0 −8 Original line number Diff line number Diff line Loading @@ -367,14 +367,6 @@ When: 2.6.33 Why: Should be implemented in userspace, policy daemon. Who: Johannes Berg <johannes@sipsolutions.net> --------------------------- What: CONFIG_INOTIFY When: 2.6.33 Why: last user (audit) will be converted to the newer more generic and more easily maintained fsnotify subsystem Who: Eric Paris <eparis@redhat.com> ---------------------------- What: lock_policy_rwsem_* and unlock_policy_rwsem_* will not be Loading fs/inode.c +0 −6 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ #include <linux/pagemap.h> #include <linux/cdev.h> #include <linux/bootmem.h> #include <linux/inotify.h> #include <linux/fsnotify.h> #include <linux/mount.h> #include <linux/async.h> Loading Loading @@ -264,10 +263,6 @@ void inode_init_once(struct inode *inode) INIT_RAW_PRIO_TREE_ROOT(&inode->i_data.i_mmap); INIT_LIST_HEAD(&inode->i_data.i_mmap_nonlinear); i_size_ordered_init(inode); #ifdef CONFIG_INOTIFY INIT_LIST_HEAD(&inode->inotify_watches); mutex_init(&inode->inotify_mutex); #endif #ifdef CONFIG_FSNOTIFY INIT_HLIST_HEAD(&inode->i_fsnotify_mark_entries); #endif Loading Loading @@ -413,7 +408,6 @@ int invalidate_inodes(struct super_block *sb) down_write(&iprune_sem); spin_lock(&inode_lock); inotify_unmount_inodes(&sb->s_inodes); fsnotify_unmount_inodes(&sb->s_inodes); busy = invalidate_list(&sb->s_inodes, &throw_away); spin_unlock(&inode_lock); Loading fs/notify/inotify/Kconfig +0 −15 Original line number Diff line number Diff line config INOTIFY bool "Inotify file change notification support" default n ---help--- Say Y here to enable legacy in kernel inotify support. Inotify is a file change notification system. It is a replacement for dnotify. This option only provides the legacy inotify in kernel API. There are no in tree kernel users of this interface since it is deprecated. You only need this if you are loading an out of tree kernel module that uses inotify. For more information, see <file:Documentation/filesystems/inotify.txt> If unsure, say N. config INOTIFY_USER bool "Inotify support for userspace" select ANON_INODES Loading fs/notify/inotify/Makefile +0 −1 Original line number Diff line number Diff line obj-$(CONFIG_INOTIFY) += inotify.o obj-$(CONFIG_INOTIFY_USER) += inotify_fsnotify.o inotify_user.o Loading
Documentation/feature-removal-schedule.txt +0 −8 Original line number Diff line number Diff line Loading @@ -367,14 +367,6 @@ When: 2.6.33 Why: Should be implemented in userspace, policy daemon. Who: Johannes Berg <johannes@sipsolutions.net> --------------------------- What: CONFIG_INOTIFY When: 2.6.33 Why: last user (audit) will be converted to the newer more generic and more easily maintained fsnotify subsystem Who: Eric Paris <eparis@redhat.com> ---------------------------- What: lock_policy_rwsem_* and unlock_policy_rwsem_* will not be Loading
fs/inode.c +0 −6 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ #include <linux/pagemap.h> #include <linux/cdev.h> #include <linux/bootmem.h> #include <linux/inotify.h> #include <linux/fsnotify.h> #include <linux/mount.h> #include <linux/async.h> Loading Loading @@ -264,10 +263,6 @@ void inode_init_once(struct inode *inode) INIT_RAW_PRIO_TREE_ROOT(&inode->i_data.i_mmap); INIT_LIST_HEAD(&inode->i_data.i_mmap_nonlinear); i_size_ordered_init(inode); #ifdef CONFIG_INOTIFY INIT_LIST_HEAD(&inode->inotify_watches); mutex_init(&inode->inotify_mutex); #endif #ifdef CONFIG_FSNOTIFY INIT_HLIST_HEAD(&inode->i_fsnotify_mark_entries); #endif Loading Loading @@ -413,7 +408,6 @@ int invalidate_inodes(struct super_block *sb) down_write(&iprune_sem); spin_lock(&inode_lock); inotify_unmount_inodes(&sb->s_inodes); fsnotify_unmount_inodes(&sb->s_inodes); busy = invalidate_list(&sb->s_inodes, &throw_away); spin_unlock(&inode_lock); Loading
fs/notify/inotify/Kconfig +0 −15 Original line number Diff line number Diff line config INOTIFY bool "Inotify file change notification support" default n ---help--- Say Y here to enable legacy in kernel inotify support. Inotify is a file change notification system. It is a replacement for dnotify. This option only provides the legacy inotify in kernel API. There are no in tree kernel users of this interface since it is deprecated. You only need this if you are loading an out of tree kernel module that uses inotify. For more information, see <file:Documentation/filesystems/inotify.txt> If unsure, say N. config INOTIFY_USER bool "Inotify support for userspace" select ANON_INODES Loading
fs/notify/inotify/Makefile +0 −1 Original line number Diff line number Diff line obj-$(CONFIG_INOTIFY) += inotify.o obj-$(CONFIG_INOTIFY_USER) += inotify_fsnotify.o inotify_user.o