Advertisement
Guest User

Untitled

a guest
Apr 16th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.77 KB | None | 0 0
  1. diff -Naur aufs3.16/fs/aufs/debug.c aufs3.16-patched/fs/aufs/debug.c
  2. --- aufs3.16/fs/aufs/debug.c    2017-04-16 11:54:45.253840000 +0800
  3. +++ aufs3.16-patched/fs/aufs/debug.c    2017-04-16 11:55:44.743843000 +0800
  4. @@ -168,7 +168,7 @@
  5.     struct dentry *d;
  6.  
  7.     spin_lock(&inode->i_lock);
  8. -   hlist_for_each_entry(d, &inode->i_dentry, d_alias)
  9. +   hlist_for_each_entry(d, &inode->i_dentry, d_u.d_alias)
  10.         au_dpri_dentry(d);
  11.     spin_unlock(&inode->i_lock);
  12.  }
  13. diff -Naur aufs3.16/fs/aufs/export.c aufs3.16-patched/fs/aufs/export.c
  14. --- aufs3.16/fs/aufs/export.c   2017-04-16 11:54:45.267174000 +0800
  15. +++ aufs3.16-patched/fs/aufs/export.c   2017-04-16 11:55:44.750510000 +0800
  16. @@ -243,7 +243,7 @@
  17.         dentry = d_find_alias(inode);
  18.     else {
  19.         spin_lock(&inode->i_lock);
  20. -       hlist_for_each_entry(d, &inode->i_dentry, d_alias) {
  21. +       hlist_for_each_entry(d, &inode->i_dentry, d_u.d_alias) {
  22.             spin_lock(&d->d_lock);
  23.             if (!au_test_anon(d)
  24.                 && d->d_parent->d_inode->i_ino == dir_ino) {
  25. diff -Naur aufs3.16/fs/aufs/hnotify.c aufs3.16-patched/fs/aufs/hnotify.c
  26. --- aufs3.16/fs/aufs/hnotify.c  2017-04-16 11:54:45.297174000 +0800
  27. +++ aufs3.16-patched/fs/aufs/hnotify.c  2017-04-16 11:55:44.750510000 +0800
  28. @@ -211,7 +211,7 @@
  29.         AuDebugOn(!name);
  30.         au_iigen_dec(inode);
  31.         spin_lock(&inode->i_lock);
  32. -       hlist_for_each_entry(d, &inode->i_dentry, d_alias) {
  33. +       hlist_for_each_entry(d, &inode->i_dentry, d_u.d_alias) {
  34.             spin_lock(&d->d_lock);
  35.             dname = &d->d_name;
  36.             if (dname->len != nlen
  37. @@ -378,7 +378,7 @@
  38.  
  39.     dentry = NULL;
  40.     spin_lock(&parent->d_lock);
  41. -   list_for_each_entry(d, &parent->d_subdirs, d_u.d_child) {
  42. +   list_for_each_entry(d, &parent->d_subdirs, d_child) {
  43.         /* AuDbg("%pd\n", d); */
  44.         spin_lock_nested(&d->d_lock, DENTRY_D_LOCK_NESTED);
  45.         dname = &d->d_name;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement