Skip to content

Commit

Permalink
New cache calls has been reported to hiding directory entries
Browse files Browse the repository at this point in the history
  • Loading branch information
lundman committed Jan 23, 2014
1 parent e3109d4 commit 35f1f44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/zfs/zfs_vnops_osx.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ zfs_vnop_lookup(

*ap->a_vpp = NULL; /* In case we return an error */

#if 1
#if 0
error = cache_lookup(ap->a_dvp, ap->a_vpp, cnp);
if (error) {
/* We found a cache entry, positive or negative. */
Expand Down Expand Up @@ -364,7 +364,7 @@ zfs_vnop_lookup(
if (filename)
FREE(filename, M_TEMP);

#if 1
#if 0
if (error == ENOENT) {
if ((ap->a_cnp->cn_nameiop == CREATE || ap->a_cnp->cn_nameiop == RENAME) &&
(cnp->cn_flags & ISLASTCN)) {
Expand Down

0 comments on commit 35f1f44

Please sign in to comment.