diff options
author | visa <visa@openbsd.org> | 2020-02-20 16:56:51 +0000 |
---|---|---|
committer | visa <visa@openbsd.org> | 2020-02-20 16:56:51 +0000 |
commit | b821368957f060d7b1e9eeaa4fbc563e892edb32 (patch) | |
tree | e229216622f7fd44cb4f4a093037e2375da5f54b /sys/msdosfs | |
parent | document no debug (diff) | |
download | wireguard-openbsd-b821368957f060d7b1e9eeaa4fbc563e892edb32.tar.xz wireguard-openbsd-b821368957f060d7b1e9eeaa4fbc563e892edb32.zip |
Replace field f_isfd with field f_flags in struct filterops to allow
adding more filter properties without cluttering the struct.
OK mpi@, anton@
Diffstat (limited to 'sys/msdosfs')
-rw-r--r-- | sys/msdosfs/msdosfs_vnops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c index 56ac3c6ddc4..c57265e3834 100644 --- a/sys/msdosfs/msdosfs_vnops.c +++ b/sys/msdosfs/msdosfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_vnops.c,v 1.128 2020/01/20 23:21:56 claudio Exp $ */ +/* $OpenBSD: msdosfs_vnops.c,v 1.129 2020/02/20 16:56:52 visa Exp $ */ /* $NetBSD: msdosfs_vnops.c,v 1.63 1997/10/17 11:24:19 ws Exp $ */ /*- @@ -1960,21 +1960,21 @@ const struct vops msdosfs_vops = { }; const struct filterops msdosfsread_filtops = { - .f_isfd = 1, + .f_flags = FILTEROP_ISFD, .f_attach = NULL, .f_detach = filt_msdosfsdetach, .f_event = filt_msdosfsread, }; const struct filterops msdosfswrite_filtops = { - .f_isfd = 1, + .f_flags = FILTEROP_ISFD, .f_attach = NULL, .f_detach = filt_msdosfsdetach, .f_event = filt_msdosfswrite, }; const struct filterops msdosfsvnode_filtops = { - .f_isfd = 1, + .f_flags = FILTEROP_ISFD, .f_attach = NULL, .f_detach = filt_msdosfsdetach, .f_event = filt_msdosfsvnode, |