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

Merge branch 'aufs5.0/30stdalone' into aufs5.1/30stdalone

parents d229b2fd 4d430b32
......@@ -1215,8 +1215,8 @@ int au_dr_lkup_name(struct au_do_lookup_args *lkup, aufs_bindex_t btgt)
err = 0;
if (!lkup->dirren.drinfo)
goto out;
AuDebugOn(lkup->dirren.ninfo < btgt + 1);
drinfo = lkup->dirren.drinfo[btgt + 1];
AuDebugOn(lkup->dirren.ninfo <= btgt);
drinfo = lkup->dirren.drinfo[btgt];
if (!drinfo)
goto out;
......@@ -1245,8 +1245,8 @@ int au_dr_lkup_h_ino(struct au_do_lookup_args *lkup, aufs_bindex_t bindex,
match = 1;
if (!lkup->dirren.drinfo)
goto out;
AuDebugOn(lkup->dirren.ninfo < bindex + 1);
drinfo = lkup->dirren.drinfo[bindex + 1];
AuDebugOn(lkup->dirren.ninfo <= bindex);
drinfo = lkup->dirren.drinfo[bindex];
if (!drinfo)
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