diff options
author | 2016-09-07 17:30:12 +0000 | |
---|---|---|
committer | 2016-09-07 17:30:12 +0000 | |
commit | 685efd6e237bac10bf050abeb268b8aa2ef9897f (patch) | |
tree | 14b5adf8088adb6e24321f8578a720ecb0e4a61f /sys/ntfs/ntfs_vfsops.c | |
parent | Trivial cleanup: Pass pointers of the correct types to the private (diff) | |
download | wireguard-openbsd-685efd6e237bac10bf050abeb268b8aa2ef9897f.tar.xz wireguard-openbsd-685efd6e237bac10bf050abeb268b8aa2ef9897f.zip |
Remove usermount remnants. ok tedu
Diffstat (limited to 'sys/ntfs/ntfs_vfsops.c')
-rw-r--r-- | sys/ntfs/ntfs_vfsops.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/ntfs/ntfs_vfsops.c b/sys/ntfs/ntfs_vfsops.c index 5c56fbb94cb..8949522f0a2 100644 --- a/sys/ntfs/ntfs_vfsops.c +++ b/sys/ntfs/ntfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntfs_vfsops.c,v 1.54 2016/09/01 08:40:39 natano Exp $ */ +/* $OpenBSD: ntfs_vfsops.c,v 1.55 2016/09/07 17:30:12 natano Exp $ */ /* $NetBSD: ntfs_vfsops.c,v 1.7 2003/04/24 07:50:19 christos Exp $ */ /*- @@ -187,18 +187,6 @@ ntfs_mount(struct mount *mp, const char *path, void *data, goto error_2; } - /* - * If we are not root, make sure we have permission to access the - * requested device. - */ - if (p->p_ucred->cr_uid) { - vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, p); - err = VOP_ACCESS(devvp, VREAD, p->p_ucred, p); - VOP_UNLOCK(devvp, p); - if (err) - goto error_2; - } - if (mp->mnt_flag & MNT_UPDATE) { #if 0 /* |