summaryrefslogtreecommitdiff
path: root/fs/aufs/dentry.c
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-10-27 13:37:40 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-10-27 13:37:40 -0300
commitbadc0e42604c4465facd81d2323e98b3b1eb9188 (patch)
treee61811e7ddf70517f4b546d522ba3b630b38f50f /fs/aufs/dentry.c
parentf19866e5cb04f8f007cb422132ea4611cdacc8e3 (diff)
Linux-libre 4.2.4-gnupck-4.2.4-gnu
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;