summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_extattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_extattr.c')
-rw-r--r--sys/kern/vfs_extattr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c
index 1fa588f..fedc88b 100644
--- a/sys/kern/vfs_extattr.c
+++ b/sys/kern/vfs_extattr.c
@@ -3715,11 +3715,8 @@ revoke(td, uap)
if (error)
goto out;
}
- if ((error = vn_start_write(vp, &mp, V_WAIT | PCATCH)) != 0)
- goto out;
if (vcount(vp) > 1)
VOP_REVOKE(vp, REVOKEALL);
- vn_finished_write(mp);
out:
vrele(vp);
return (error);
OpenPOWER on IntegriCloud