aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-10-15 04:48:14 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-10-15 04:48:14 +0000
commit214eccf4b6663f4676b98004b27ca76275ba6d8b (patch)
treeea794e33d9e1e312cfb5bb2ed25285d02782c9dd /sys/sys/vnode.h
parent6527b9baef4662150c624127427154611a116347 (diff)
downloadsrc-214eccf4b6663f4676b98004b27ca76275ba6d8b.tar.gz
src-214eccf4b6663f4676b98004b27ca76275ba6d8b.zip
vfs: add VOP_EAGAIN
Can be used to stub fplookup for example.
Notes
Notes: svn path=/head/; revision=366716
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 8b2f94d361de..6b2e54ae587f 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -828,6 +828,7 @@ int vop_ebadf(struct vop_generic_args *ap);
int vop_einval(struct vop_generic_args *ap);
int vop_enoent(struct vop_generic_args *ap);
int vop_enotty(struct vop_generic_args *ap);
+int vop_eagain(struct vop_generic_args *ap);
int vop_null(struct vop_generic_args *ap);
int vop_panic(struct vop_generic_args *ap);
int dead_poll(struct vop_poll_args *ap);
@@ -1001,6 +1002,7 @@ extern struct vop_vector default_vnodeops;
#define VOP_EINVAL ((void*)(uintptr_t)vop_einval)
#define VOP_ENOENT ((void*)(uintptr_t)vop_enoent)
#define VOP_EOPNOTSUPP ((void*)(uintptr_t)vop_eopnotsupp)
+#define VOP_EAGAIN ((void*)(uintptr_t)vop_eagain)
/* fifo_vnops.c */
int fifo_printinfo(struct vnode *);