Commit e9e7f928 authored by J. R. Okajima's avatar J. R. Okajima
Browse files

Merge branch 'aufs5.2/01modular' into aufs5.2.5+/01modular

parents 1a9193c4 7a5ed099
...@@ -1202,8 +1202,8 @@ int au_dr_lkup_name(struct au_do_lookup_args *lkup, aufs_bindex_t btgt) ...@@ -1202,8 +1202,8 @@ int au_dr_lkup_name(struct au_do_lookup_args *lkup, aufs_bindex_t btgt)
err = 0; err = 0;
if (!lkup->dirren.drinfo) if (!lkup->dirren.drinfo)
goto out; goto out;
AuDebugOn(lkup->dirren.ninfo < btgt + 1); AuDebugOn(lkup->dirren.ninfo <= btgt);
drinfo = lkup->dirren.drinfo[btgt + 1]; drinfo = lkup->dirren.drinfo[btgt];
if (!drinfo) if (!drinfo)
goto out; goto out;
...@@ -1232,8 +1232,8 @@ int au_dr_lkup_h_ino(struct au_do_lookup_args *lkup, aufs_bindex_t bindex, ...@@ -1232,8 +1232,8 @@ int au_dr_lkup_h_ino(struct au_do_lookup_args *lkup, aufs_bindex_t bindex,
match = 1; match = 1;
if (!lkup->dirren.drinfo) if (!lkup->dirren.drinfo)
goto out; goto out;
AuDebugOn(lkup->dirren.ninfo < bindex + 1); AuDebugOn(lkup->dirren.ninfo <= bindex);
drinfo = lkup->dirren.drinfo[bindex + 1]; drinfo = lkup->dirren.drinfo[bindex];
if (!drinfo) if (!drinfo)
goto out; goto out;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment