From b907a8622e39eecfc4b243f3be3ad26559d1faee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Mon, 27 Jun 2016 21:01:09 -0300 Subject: Linux-libre 4.6.3-gnu --- fs/aufs/i_op.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fs/aufs/i_op.c') diff --git a/fs/aufs/i_op.c b/fs/aufs/i_op.c index 1572a7d4d..ac3bf9437 100644 --- a/fs/aufs/i_op.c +++ b/fs/aufs/i_op.c @@ -294,8 +294,8 @@ static int aufs_atomic_open(struct inode *dir, struct dentry *dentry, * another error will be returned later. */ d_drop(d); - dput(d); AuDbgDentry(d); + dput(d); } AuDbgDentry(dentry); } @@ -508,7 +508,7 @@ out: void au_pin_hdir_unlock(struct au_pin *p) { if (p->hdir) - au_hn_imtx_unlock(p->hdir); + au_hn_inode_unlock(p->hdir); } int au_pin_hdir_lock(struct au_pin *p) @@ -520,7 +520,7 @@ int au_pin_hdir_lock(struct au_pin *p) goto out; /* even if an error happens later, keep this lock */ - au_hn_imtx_lock_nested(p->hdir, p->lsc_hi); + au_hn_inode_lock_nested(p->hdir, p->lsc_hi); err = -EBUSY; if (unlikely(p->hdir->hi_inode != d_inode(p->h_parent))) -- cgit v1.2.3