2015-06-12 00:52:35 +00:00
|
|
|
From 46de4e3a5f56c5915beb4a69e4a3af9c88aaa482 Mon Sep 17 00:00:00 2001
|
2015-05-31 16:36:59 +00:00
|
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
Date: Thu, 30 Apr 2015 20:15:13 -0600
|
2015-06-12 00:52:35 +00:00
|
|
|
Subject: [PATCH 2/2] AUFS fix for 3.10.76
|
2015-05-31 16:36:59 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
fs/aufs/debug.c | 2 +-
|
|
|
|
fs/aufs/hnotify.c | 2 +-
|
|
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/fs/aufs/debug.c b/fs/aufs/debug.c
|
|
|
|
index a26b5bd..7cedc88 100644
|
|
|
|
--- a/fs/aufs/debug.c
|
|
|
|
+++ b/fs/aufs/debug.c
|
|
|
|
@@ -156,7 +156,7 @@ void au_dpri_dalias(struct inode *inode)
|
|
|
|
struct dentry *d;
|
|
|
|
|
|
|
|
spin_lock(&inode->i_lock);
|
|
|
|
- hlist_for_each_entry(d, &inode->i_dentry, d_alias)
|
|
|
|
+ hlist_for_each_entry(d, &inode->i_dentry, d_u.d_alias)
|
|
|
|
au_dpri_dentry(d);
|
|
|
|
spin_unlock(&inode->i_lock);
|
|
|
|
}
|
|
|
|
diff --git a/fs/aufs/hnotify.c b/fs/aufs/hnotify.c
|
|
|
|
index 1bd7a9a..927beb6 100644
|
|
|
|
--- a/fs/aufs/hnotify.c
|
|
|
|
+++ b/fs/aufs/hnotify.c
|
|
|
|
@@ -198,7 +198,7 @@ static int hn_gen_by_inode(char *name, unsigned int nlen, struct inode *inode,
|
|
|
|
AuDebugOn(!name);
|
|
|
|
au_iigen_dec(inode);
|
|
|
|
spin_lock(&inode->i_lock);
|
|
|
|
- hlist_for_each_entry(d, &inode->i_dentry, d_alias) {
|
|
|
|
+ hlist_for_each_entry(d, &inode->i_dentry, d_u.d_alias) {
|
|
|
|
spin_lock(&d->d_lock);
|
|
|
|
dname = &d->d_name;
|
|
|
|
if (dname->len != nlen
|
|
|
|
--
|
|
|
|
2.4.1
|
|
|
|
|