From 56c62ab69c70e0946fc856178084bae9d3c94de7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Thu, 5 Apr 2007 13:43:00 +0000 Subject: [PATCH] Whitespace nits. --- sys/fs/pseudofs/pseudofs.c | 6 +++--- sys/fs/pseudofs/pseudofs.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/fs/pseudofs/pseudofs.c b/sys/fs/pseudofs/pseudofs.c index 42c45bbd490..049afc5ea46 100644 --- a/sys/fs/pseudofs/pseudofs.c +++ b/sys/fs/pseudofs/pseudofs.c @@ -188,7 +188,7 @@ pfs_create_file(struct pfs_node *parent, const char *name, pfs_fill_t fill, */ struct pfs_node * pfs_create_link(struct pfs_node *parent, const char *name, pfs_fill_t fill, - pfs_attr_t attr, pfs_vis_t vis, pfs_destroy_t destroy, + pfs_attr_t attr, pfs_vis_t vis, pfs_destroy_t destroy, int flags) { struct pfs_node *node; @@ -255,9 +255,9 @@ pfs_destroy(struct pfs_node *node) } /* callback to free any private resources */ - if(node->pn_destroy != NULL) + if (node->pn_destroy != NULL) (node->pn_destroy)(node); - + /* revoke vnodes and release memory */ pfs_disable(node); FREE(node, M_PFSNODES); diff --git a/sys/fs/pseudofs/pseudofs.h b/sys/fs/pseudofs/pseudofs.h index 58eba44b714..49ba64acadb 100644 --- a/sys/fs/pseudofs/pseudofs.h +++ b/sys/fs/pseudofs/pseudofs.h @@ -225,7 +225,7 @@ int pfs_uninit (struct pfs_info *pi, struct vfsconf *vfc); * Directory structure construction and manipulation */ struct pfs_node *pfs_create_dir (struct pfs_node *parent, const char *name, - pfs_attr_t attr, pfs_vis_t vis, + pfs_attr_t attr, pfs_vis_t vis, pfs_destroy_t destroy, int flags); struct pfs_node *pfs_create_file(struct pfs_node *parent, const char *name, pfs_fill_t fill, pfs_attr_t attr,