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/debug.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'fs/aufs/debug.c') diff --git a/fs/aufs/debug.c b/fs/aufs/debug.c index 14e69cbc8..4fdc9d422 100644 --- a/fs/aufs/debug.c +++ b/fs/aufs/debug.c @@ -133,7 +133,7 @@ void au_dpri_inode(struct inode *inode) int err, hn; err = do_pri_inode(-1, inode, -1, NULL); - if (err || !au_test_aufs(inode->i_sb) || is_bad_inode(inode)) + if (err || !au_test_aufs(inode->i_sb) || au_is_bad_inode(inode)) return; iinfo = au_ii(inode); @@ -184,7 +184,7 @@ static int do_pri_dentry(aufs_bindex_t bindex, struct dentry *dentry) && d_is_positive(dentry) && au_test_aufs(dentry->d_sb)) inode = d_inode(dentry); - if (inode && !is_bad_inode(inode)) { + if (inode && !au_is_bad_inode(inode)) { iinfo = au_ii(inode); hi = au_hinode(iinfo, bindex); hn = !!au_hn(hi); @@ -199,7 +199,6 @@ void au_dpri_dentry(struct dentry *dentry) struct au_dinfo *dinfo; aufs_bindex_t bindex; int err; - struct au_hdentry *hdp; err = do_pri_dentry(-1, dentry); if (err || !au_test_aufs(dentry->d_sb)) @@ -214,9 +213,8 @@ void au_dpri_dentry(struct dentry *dentry) dinfo->di_tmpfile); if (dinfo->di_btop < 0) return; - hdp = dinfo->di_hdentry; for (bindex = dinfo->di_btop; bindex <= dinfo->di_bbot; bindex++) - do_pri_dentry(bindex, hdp[0 + bindex].hd_dentry); + do_pri_dentry(bindex, au_hdentry(dinfo, bindex)->hd_dentry); } static int do_pri_file(aufs_bindex_t bindex, struct file *file) -- cgit v1.2.3