summaryrefslogtreecommitdiff
path: root/fs/aufs/dentry.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/aufs/dentry.c')
-rw-r--r--fs/aufs/dentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/aufs/dentry.c b/fs/aufs/dentry.c
index 993c95e14..d03087c84 100644
--- a/fs/aufs/dentry.c
+++ b/fs/aufs/dentry.c
@@ -179,7 +179,7 @@ int au_lkup_dentry(struct dentry *dentry, aufs_bindex_t bstart, mode_t type)
if (dirperm1)
au_fset_lkup(args.flags, IGNORE_PERM);
- if (au_dbwh(dentry) >= 0)
+ if (au_dbwh(dentry) == bindex)
break;
if (!h_dentry)
continue;