Merge branch 'master' into kiconv2
[dragonfly.git] / sys / vfs / msdosfs / msdosfs_lookup.c
index 27ab76b..3659369 100644 (file)
@@ -339,7 +339,7 @@ notfound:
                 * Access for write is interpreted as allowing
                 * creation of files in the directory.
                 */
-               error = VOP_ACCESS(vdp, VWRITE, cnp->cn_cred);
+               error = VOP_EACCESS(vdp, VWRITE, cnp->cn_cred);
                if (error)
                        return (error);
                /*
@@ -431,7 +431,7 @@ foundroot:
                /*
                 * Write access to directory required to delete files.
                 */
-               error = VOP_ACCESS(vdp, VWRITE, cnp->cn_cred);
+               error = VOP_EACCESS(vdp, VWRITE, cnp->cn_cred);
                if (error)
                        return (error);
 
@@ -465,7 +465,7 @@ foundroot:
                if (blkoff == MSDOSFSROOT_OFS)
                        return EROFS;                   /* really? XXX */
 
-               error = VOP_ACCESS(vdp, VWRITE, cnp->cn_cred);
+               error = VOP_EACCESS(vdp, VWRITE, cnp->cn_cred);
                if (error)
                        return (error);