Signed-off-by: Andy Whitcroft <a...@canonical.com> --- fs/aufs/mvdown.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/aufs/mvdown.c b/fs/aufs/mvdown.c index 993d8a3..fc6c75a 100644 --- a/fs/aufs/mvdown.c +++ b/fs/aufs/mvdown.c @@ -299,7 +299,7 @@ static int au_mvd_args_busy(const unsigned char dmsg, struct au_mvd_args *a) err = 0; plinked = !!au_opt_test(au_mntflags(a->sb), PLINK); if (au_dbstart(a->dentry) == a->mvd_bsrc - && a->dentry->d_count == 1 + && d_count(a->dentry) == 1 && atomic_read(&a->inode->i_count) == 1 /* && a->mvd_h_src_inode->i_nlink == 1 */ && (!plinked || !au_plink_test(a->inode)) @@ -309,7 +309,7 @@ static int au_mvd_args_busy(const unsigned char dmsg, struct au_mvd_args *a) err = -EBUSY; AU_MVD_PR(dmsg, "b%d, d{b%d, c%u?}, i{c%d?, l%u}, hi{l%u}, p{%d, %d}\n", - a->mvd_bsrc, au_dbstart(a->dentry), a->dentry->d_count, + a->mvd_bsrc, au_dbstart(a->dentry), d_count(a->dentry), atomic_read(&a->inode->i_count), a->inode->i_nlink, a->mvd_h_src_inode->i_nlink, plinked, plinked ? au_plink_test(a->inode) : 0); -- 1.8.1.2 ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk