diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-07-28 18:53:29 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-07-28 18:53:29 +0000 |
commit | d2f7ae9f881883fc0f9ff813f74be2d2c6570086 (patch) | |
tree | 7b032af60d7acd49c0034b24131e941ea2395cea /sys/kern/vfs_syscalls.c | |
parent | c4087aa32db670beeb3e1c536853cbf6960b87de (diff) | |
download | FreeBSD-src-d2f7ae9f881883fc0f9ff813f74be2d2c6570086.zip FreeBSD-src-d2f7ae9f881883fc0f9ff813f74be2d2c6570086.tar.gz |
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
Diffstat (limited to 'sys/kern/vfs_syscalls.c')
-rw-r--r-- | sys/kern/vfs_syscalls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index f04664f..4ac48b3 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -4258,7 +4258,8 @@ extattr_delete_vp(struct vnode *vp, int attrnamespace, const char *attrname, goto done; #endif - error = VOP_RMEXTATTR(vp, attrnamespace, attrname, td->td_ucred, td); + error = VOP_DELETEEXTATTR(vp, attrnamespace, attrname, td->td_ucred, + td); if (error == EOPNOTSUPP) error = VOP_SETEXTATTR(vp, attrnamespace, attrname, NULL, td->td_ucred, td); |