Use tmpfs_print for tmpfs FIFOs.

Reviewed by:	kib (part of a larger patch)
This commit is contained in:
jhb 2017-09-25 20:26:16 +00:00
parent fd5358d60d
commit 55f7f610b5
3 changed files with 3 additions and 2 deletions

View File

@ -69,5 +69,5 @@ struct vop_vector tmpfs_fifoop_entries = {
.vop_access = tmpfs_access,
.vop_getattr = tmpfs_getattr,
.vop_setattr = tmpfs_setattr,
.vop_print = tmpfs_print,
};

View File

@ -1310,7 +1310,7 @@ tmpfs_reclaim(struct vop_reclaim_args *v)
return 0;
}
static int
int
tmpfs_print(struct vop_print_args *v)
{
struct vnode *vp = v->a_vp;

View File

@ -49,6 +49,7 @@ extern struct vop_vector tmpfs_vnodeop_nonc_entries;
vop_access_t tmpfs_access;
vop_getattr_t tmpfs_getattr;
vop_setattr_t tmpfs_setattr;
vop_print_t tmpfs_print;
vop_reclaim_t tmpfs_reclaim;
#endif /* _FS_TMPFS_TMPFS_VNOPS_H_ */