diff options
author | des <des@FreeBSD.org> | 2007-04-05 13:43:00 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2007-04-05 13:43:00 +0000 |
commit | 4d2fbcb41b2477001d2ee4af32075a064cfffbd7 (patch) | |
tree | 4fec310933c3f010cb11496271fcf10b48a51554 /sys/fs | |
parent | f07477f890819ae598e6f4d7decec5e785849f72 (diff) | |
download | FreeBSD-src-4d2fbcb41b2477001d2ee4af32075a064cfffbd7.zip FreeBSD-src-4d2fbcb41b2477001d2ee4af32075a064cfffbd7.tar.gz |
Whitespace nits.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/pseudofs/pseudofs.c | 6 | ||||
-rw-r--r-- | 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 42c45bb..049afc5 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 58eba44..49ba64a 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, |