]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add post-VOP hooks for VOP_DELETEEXTATTR() and VOP_SETEXTATTR() and use
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 23 Dec 2011 20:11:37 +0000 (20:11 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 23 Dec 2011 20:11:37 +0000 (20:11 +0000)
commitf0d6c5caf01096cc17c6b01d1821fdaf0813ef3c
tree29c40988b2d39e863f8a5217d7937b10f86b0a34
parent2789ec41bc127ff0e118cd937a95069c0c8e9456
Add post-VOP hooks for VOP_DELETEEXTATTR() and VOP_SETEXTATTR() and use
these to trigger a NOTE_ATTRIB EVFILT_VNODE kevent when the extended
attributes of a vnode are changed.

Note that OS X already implements this behavior.

Reviewed by: rwatson
MFC after: 2 weeks
sys/kern/vfs_subr.c
sys/kern/vnode_if.src
sys/sys/vnode.h