diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2020-02-20 16:56:54 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2020-02-20 16:56:54 +0000 |
commit | ec03129c70182f2b24dd73c23b65e21de8134a24 (patch) | |
tree | aff61980f07f1f0d612de2436534affed30f3ae6 /sys/msdosfs | |
parent | 00bbf32646352eb0f9b77ee2a5ab19f6b3f53f7b (diff) |
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, |