fs/vfs: Rename lock.h to vfs.h
vfs.h will contain other internal functions in the future Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
4193fe6e2b
commit
1ea0ae8073
5 changed files with 8 additions and 8 deletions
|
|
@ -32,7 +32,7 @@
|
|||
#include "rpmsgfs/rpmsgfs.h"
|
||||
#include "inode/inode.h"
|
||||
#include "aio/aio.h"
|
||||
#include "vfs/lock.h"
|
||||
#include "vfs/vfs.h"
|
||||
#include "fs_heap.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
#include "notify/notify.h"
|
||||
#include "inode/inode.h"
|
||||
#include "sched/sched.h"
|
||||
#include "vfs/lock.h"
|
||||
#include "vfs.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
#include <assert.h>
|
||||
|
||||
#include "inode/inode.h"
|
||||
#include "lock.h"
|
||||
#include "vfs.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
|
|
|
|||
|
|
@ -38,9 +38,9 @@
|
|||
#include <nuttx/mutex.h>
|
||||
#include <nuttx/list.h>
|
||||
|
||||
#include "lock.h"
|
||||
#include "sched/sched.h"
|
||||
#include "fs_heap.h"
|
||||
#include "vfs.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* fs/vfs/lock.h
|
||||
* fs/vfs/vfs.h
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
|
|
@ -20,8 +20,8 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __FS_VFS_LOCK_H
|
||||
#define __FS_VFS_LOCK_H
|
||||
#ifndef __FS_VFS_VFS_H
|
||||
#define __FS_VFS_VFS_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
|
|
@ -105,4 +105,4 @@ int file_setlk(FAR struct file *filep, FAR struct flock *flock,
|
|||
bool nonblock);
|
||||
|
||||
#endif /* CONFIG_FS_LOCK_BUCKET_SIZE */
|
||||
#endif /* __FS_VFS_LOCK_H */
|
||||
#endif /* __FS_VFS_VFS_H */
|
||||
Loading…
Add table
Reference in a new issue