mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
vfs: switch i_dentry/d_alias to hlist
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
9f713878f2
commit
b3d9b7a3c7
13 changed files with 36 additions and 28 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue