summaryrefslogtreecommitdiff
path: root/fs/aufs/iinfo.c
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-12-26 16:00:37 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-12-26 16:00:37 -0300
commit35acfa0fc609f2a2cd95cef4a6a9c3a5c38f1778 (patch)
tree281fc9db2a40c54ee94dc88fc2bf8c119cfafc15 /fs/aufs/iinfo.c
parentf3a16ba6a1152b8966dcadc668af4cf00623c7b1 (diff)
Add support for the exFAT file system, fix hangs on older intel hardware and update AUFSpck-4.3.3-gnu
Diffstat (limited to 'fs/aufs/iinfo.c')
-rw-r--r--fs/aufs/iinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/aufs/iinfo.c b/fs/aufs/iinfo.c
index b8efd4586..c604f6987 100644
--- a/fs/aufs/iinfo.c
+++ b/fs/aufs/iinfo.c
@@ -105,13 +105,13 @@ void au_update_iigen(struct inode *inode, int half)
sigen = au_sigen(inode->i_sb);
iinfo = au_ii(inode);
iigen = &iinfo->ii_generation;
- spin_lock(&iinfo->ii_genspin);
+ spin_lock(&iigen->ig_spin);
iigen->ig_generation = sigen;
if (half)
au_ig_fset(iigen->ig_flags, HALF_REFRESHED);
else
au_ig_fclr(iigen->ig_flags, HALF_REFRESHED);
- spin_unlock(&iinfo->ii_genspin);
+ spin_unlock(&iigen->ig_spin);
}
/* it may be called at remount time, too */
@@ -164,7 +164,7 @@ void au_icntnr_init_once(void *_c)
struct au_iinfo *iinfo = &c->iinfo;
static struct lock_class_key aufs_ii;
- spin_lock_init(&iinfo->ii_genspin);
+ spin_lock_init(&iinfo->ii_generation.ig_spin);
au_rw_init(&iinfo->ii_rwsem);
au_rw_class(&iinfo->ii_rwsem, &aufs_ii);
inode_init_once(&c->vfs_inode);