Whitespace nits.
This commit is contained in:
parent
0d68e7fead
commit
56c62ab69c
@ -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);
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user