clang-format
This commit is contained in:
@@ -30,10 +30,8 @@
|
||||
#ifndef _VFS_H_
|
||||
#define _VFS_H_
|
||||
|
||||
|
||||
#include <array.h>
|
||||
|
||||
|
||||
/*
|
||||
* Virtual File System layer functions.
|
||||
*
|
||||
@@ -78,8 +76,7 @@ const char *vfs_getdevname(struct fs *fs);
|
||||
*/
|
||||
|
||||
int vfs_lookup(char *path, struct vnode **result);
|
||||
int vfs_lookparent(char *path, struct vnode **result,
|
||||
char *buf, size_t buflen);
|
||||
int vfs_lookparent(char *path, struct vnode **result, char *buf, size_t buflen);
|
||||
|
||||
/*
|
||||
* VFS layer high-level operations on pathnames
|
||||
@@ -175,9 +172,8 @@ int vfs_adddev(const char *devname, struct device *dev, int mountable);
|
||||
int vfs_addfs(const char *devname, struct fs *fs);
|
||||
|
||||
int vfs_mount(const char *devname, void *data,
|
||||
int (*mountfunc)(void *data,
|
||||
struct device *dev,
|
||||
struct fs **result));
|
||||
int (*mountfunc)(void *data, struct device *dev,
|
||||
struct fs **result));
|
||||
int vfs_unmount(const char *devname);
|
||||
int vfs_swapon(const char *devname, struct vnode **result);
|
||||
int vfs_swapoff(const char *devname);
|
||||
@@ -201,5 +197,4 @@ void vfs_biglock_acquire(void);
|
||||
void vfs_biglock_release(void);
|
||||
bool vfs_biglock_do_i_hold(void);
|
||||
|
||||
|
||||
#endif /* _VFS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user