summaryrefslogtreecommitdiff
path: root/sys/ntfs
diff options
context:
space:
mode:
authorSebastien Marie <semarie@cvs.openbsd.org>2024-05-13 11:17:42 +0000
committerSebastien Marie <semarie@cvs.openbsd.org>2024-05-13 11:17:42 +0000
commit56a9776fef21409406239c434ce53087a8d24bf8 (patch)
tree62ce037ffc86f78267556cfa632c477784926595 /sys/ntfs
parentd59c2125a372e3603af21f55d421e1b61fa69f35 (diff)
vfs: VOP_REMOVE: move vnode unlocking and ref dropping to FS-indep part
while here, ensure all vop_remove field are set, and always call the function. the change is very conservative: it only adds vnode ref drop/unlock where it was absent because it should be unreachable (and if it wasn't, it should fix things). ok miod@
Diffstat (limited to 'sys/ntfs')
-rw-r--r--sys/ntfs/ntfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ntfs/ntfs_vnops.c b/sys/ntfs/ntfs_vnops.c
index af3a9898af7..ad9da143aa6 100644
--- a/sys/ntfs/ntfs_vnops.c
+++ b/sys/ntfs/ntfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntfs_vnops.c,v 1.48 2024/05/12 16:51:05 semarie Exp $ */
+/* $OpenBSD: ntfs_vnops.c,v 1.49 2024/05/13 11:17:40 semarie Exp $ */
/* $NetBSD: ntfs_vnops.c,v 1.6 2003/04/10 21:57:26 jdolecek Exp $ */
/*
@@ -689,7 +689,7 @@ const struct vops ntfs_vops = {
.vop_link = NULL,
.vop_mknod = NULL,
.vop_readlink = NULL,
- .vop_remove = NULL,
+ .vop_remove = eopnotsupp,
.vop_rename = NULL,
.vop_revoke = NULL,
.vop_mkdir = NULL,