aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_vnops.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2003-07-28 18:53:29 +0000
committerRobert Watson <rwatson@FreeBSD.org>2003-07-28 18:53:29 +0000
commit9080ff25cfab8d6a3e36c871aacefdfaa232838b (patch)
tree7b032af60d7acd49c0034b24131e941ea2395cea /sys/kern/vfs_vnops.c
parent33040d38ab46b049a7f2255d5dae19fe82ebb5b6 (diff)
downloadsrc-9080ff25cfab8d6a3e36c871aacefdfaa232838b.tar.gz
src-9080ff25cfab8d6a3e36c871aacefdfaa232838b.zip
Rename VOP_RMEXTATTR() to VOP_DELETEEXTATTR() for consistency with the
kernel ACL interfaces and system call names. Break out UFS2 and FFS extattr delete and list vnode operations from setextattr and getextattr to deleteextattr and listextattr, which cleans up the implementations, and makes the results more readable, and makes the APIs more clear. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Notes
Notes: svn path=/head/; revision=118131
Diffstat (limited to 'sys/kern/vfs_vnops.c')
-rw-r--r--sys/kern/vfs_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c
index 9efbf6b942aa..b60ac4cf02ee 100644
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -1151,7 +1151,7 @@ vn_extattr_rm(struct vnode *vp, int ioflg, int attrnamespace,
}
/* authorize attribute removal as kernel */
- error = VOP_RMEXTATTR(vp, attrnamespace, attrname, NULL, td);
+ error = VOP_DELETEEXTATTR(vp, attrnamespace, attrname, NULL, td);
if (error == EOPNOTSUPP)
error = VOP_SETEXTATTR(vp, attrnamespace, attrname, NULL,
NULL, td);