diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2003-07-28 18:53:29 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2003-07-28 18:53:29 +0000 |
commit | 9080ff25cfab8d6a3e36c871aacefdfaa232838b (patch) | |
tree | 7b032af60d7acd49c0034b24131e941ea2395cea /sys/kern/vfs_vnops.c | |
parent | 33040d38ab46b049a7f2255d5dae19fe82ebb5b6 (diff) | |
download | src-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.c | 2 |
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); |