diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/fs/hpfs/hpfs_vnops.c | 6 | ||||
-rw-r--r-- | sys/fs/ntfs/ntfs_vnops.c | 5 |
2 files changed, 2 insertions, 9 deletions
diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c index 909e057..721d891 100644 --- a/sys/fs/hpfs/hpfs_vnops.c +++ b/sys/fs/hpfs/hpfs_vnops.c @@ -1030,12 +1030,8 @@ hpfs_lookup(ap) int error; int nameiop = cnp->cn_nameiop; int flags = cnp->cn_flags; -#if HPFS_DEBUG - int wantparent = flags & (LOCKPARENT|WANTPARENT); -#endif dprintf(("hpfs_lookup(0x%x, %s, %ld, %d): \n", - dhp->h_no, cnp->cn_nameptr, cnp->cn_namelen, - wantparent)); + dhp->h_no, cnp->cn_nameptr, cnp->cn_namelen)); if (nameiop != CREATE && nameiop != DELETE && nameiop != LOOKUP) { printf("hpfs_lookup: LOOKUP, DELETE and CREATE are only supported\n"); diff --git a/sys/fs/ntfs/ntfs_vnops.c b/sys/fs/ntfs/ntfs_vnops.c index 5451175..6950a9d 100644 --- a/sys/fs/ntfs/ntfs_vnops.c +++ b/sys/fs/ntfs/ntfs_vnops.c @@ -622,12 +622,9 @@ ntfs_lookup(ap) struct componentname *cnp = ap->a_cnp; struct ucred *cred = cnp->cn_cred; int error; -#if NTFS_DEBUG - int wantparent = cnp->cn_flags & (LOCKPARENT|WANTPARENT); -#endif dprintf(("ntfs_lookup: \"%.*s\" (%ld bytes) in %d, wp: %d \n", (int)cnp->cn_namelen, cnp->cn_nameptr, cnp->cn_namelen, - dip->i_number, wantparent)); + dip->i_number)); error = VOP_ACCESS(dvp, VEXEC, cred, cnp->cn_thread); if(error) |