Commit f69f1c42 authored by J. R. Okajima's avatar J. R. Okajima
Browse files

aufs: for v5.3-rc1, permanent rwsem->owner

By the commit,
	c71fd893f614 2019-06-17 locking/rwsem: Make owner available even
		if !CONFIG_RWSEM_SPIN_ON_OWNER
rwsem->owner is always defined regardless CONFIG_RWSEM_SPIN_ON_OWNER.
Aufs simply follows it.
parent 084326ad
......@@ -627,9 +627,7 @@ out:
static void au_pin_hdir_set_owner(struct au_pin *p, struct task_struct *task)
{
#if !defined(CONFIG_RWSEM_GENERIC_SPINLOCK) && defined(CONFIG_RWSEM_SPIN_ON_OWNER)
p->hdir->hi_inode->i_rwsem.owner = task;
#endif
atomic_long_set(&p->hdir->hi_inode->i_rwsem.owner, (long)task);
}
void au_pin_hdir_acquire_nest(struct au_pin *p)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment