diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-18 01:30:52 (GMT) |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 13:58:31 (GMT) |
commit | 2dfc1cae4c42b93b831b2417540df2b895ab7108 (patch) | |
tree | e07a0075964fd2cb9210b302114255e16ab1d4c0 /fs/inode.c | |
parent | 7050c48826d5adb2210bddfb6a67aa13bbe984ed (diff) | |
download | linux-fsl-qoriq-2dfc1cae4c42b93b831b2417540df2b895ab7108.tar.xz |
inotify: remove inotify in kernel interface
nothing uses inotify in the kernel, drop it!
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/inode.c')
-rw-r--r-- | fs/inode.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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> @@ -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 @@ -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); |