mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Commit a know fix for hpfs to use vop_defaultop plug instead of wrong
hpfs_bypass() routine. MFC after: 1 day
This commit is contained in:
parent
55e8d28c0e
commit
8a87e8a94f
1 changed files with 1 additions and 13 deletions
|
|
@ -60,7 +60,6 @@
|
|||
static int hpfs_de_uiomove __P((struct hpfsmount *, struct hpfsdirent *,
|
||||
struct uio *));
|
||||
static int hpfs_ioctl __P((struct vop_ioctl_args *ap));
|
||||
static int hpfs_bypass __P((struct vop_generic_args *ap));
|
||||
static int hpfs_read __P((struct vop_read_args *));
|
||||
static int hpfs_write __P((struct vop_write_args *ap));
|
||||
static int hpfs_getattr __P((struct vop_getattr_args *ap));
|
||||
|
|
@ -425,17 +424,6 @@ hpfs_write(ap)
|
|||
return (0);
|
||||
}
|
||||
|
||||
static int
|
||||
hpfs_bypass(ap)
|
||||
struct vop_generic_args /* {
|
||||
struct vnodeop_desc *a_desc;
|
||||
<other random data follows, presumably>
|
||||
} */ *ap;
|
||||
{
|
||||
dprintf(("hpfs_bypass: %s\n", ap->a_desc->vdesc_name));
|
||||
return (0);
|
||||
}
|
||||
|
||||
/*
|
||||
* XXXXX do we need hpfsnode locking inside?
|
||||
*/
|
||||
|
|
@ -1266,7 +1254,7 @@ hpfs_pathconf(ap)
|
|||
*/
|
||||
vop_t **hpfs_vnodeop_p;
|
||||
struct vnodeopv_entry_desc hpfs_vnodeop_entries[] = {
|
||||
{ &vop_default_desc, (vop_t *)hpfs_bypass },
|
||||
{ &vop_default_desc, (vop_t *)vop_defaultop },
|
||||
|
||||
{ &vop_getattr_desc, (vop_t *)hpfs_getattr },
|
||||
{ &vop_setattr_desc, (vop_t *)hpfs_setattr },
|
||||
|
|
|
|||
Loading…
Reference in a new issue