diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-09 13:51:19 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-14 16:32:55 +0400 |
commit | b3d9b7a3c752dc4b6976a4ff7b8298887a5b734d (patch) | |
tree | ce0d4c84328890dd63c9c4cb3e281b6b3476f85f /fs/notify/fsnotify.c | |
parent | 9f713878f22e0b2d34d62df0ca55f65166375634 (diff) | |
download | linux-b3d9b7a3c752dc4b6976a4ff7b8298887a5b734d.tar.gz linux-b3d9b7a3c752dc4b6976a4ff7b8298887a5b734d.tar.bz2 linux-b3d9b7a3c752dc4b6976a4ff7b8298887a5b734d.zip |
vfs: switch i_dentry/d_alias to hlist
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/notify/fsnotify.c')
-rw-r--r-- | fs/notify/fsnotify.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/notify/fsnotify.c b/fs/notify/fsnotify.c index b39c5c161adb..6baadb5a8430 100644 --- a/fs/notify/fsnotify.c +++ b/fs/notify/fsnotify.c @@ -52,6 +52,7 @@ void __fsnotify_vfsmount_delete(struct vfsmount *mnt) void __fsnotify_update_child_dentry_flags(struct inode *inode) { struct dentry *alias; + struct hlist_node *p; int watched; if (!S_ISDIR(inode->i_mode)) @@ -63,7 +64,7 @@ void __fsnotify_update_child_dentry_flags(struct inode *inode) spin_lock(&inode->i_lock); /* run all of the dentries associated with this inode. Since this is a * directory, there damn well better only be one item on this list */ - list_for_each_entry(alias, &inode->i_dentry, d_alias) { + hlist_for_each_entry(alias, p, &inode->i_dentry, d_alias) { struct dentry *child; /* run all of the children of the original inode and fix their |