mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
fs/: Remove dangling space at the end of lines.
This commit is contained in:
+3
-3
@@ -206,7 +206,7 @@ static void hostfs_mkpath(FAR struct hostfs_mountpt_s *fs,
|
|||||||
|
|
||||||
strncpy(path, fs->fs_root, pathlen);
|
strncpy(path, fs->fs_root, pathlen);
|
||||||
|
|
||||||
/* Be sure we aren't trying to use ".." to display outside of our
|
/* Be sure we aren't trying to use ".." to display outside of our
|
||||||
* mounted path.
|
* mounted path.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -849,7 +849,7 @@ static int hostfs_bind(FAR struct inode *blkdriver, FAR const void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* The only options we suppor are "-o fs=whatever", so search
|
/* The only options we suppor are "-o fs=whatever", so search
|
||||||
* for the 'dir=' portion
|
* for the 'dir=' portion
|
||||||
*/
|
*/
|
||||||
|
|
||||||
options = (const char *) data;
|
options = (const char *) data;
|
||||||
@@ -874,7 +874,7 @@ static int hostfs_bind(FAR struct inode *blkdriver, FAR const void *data,
|
|||||||
{
|
{
|
||||||
/* Initialize the semaphore that controls access */
|
/* Initialize the semaphore that controls access */
|
||||||
|
|
||||||
sem_init(&g_sem, 0, 0);
|
sem_init(&g_sem, 0, 0);
|
||||||
g_seminitialized = TRUE;
|
g_seminitialized = TRUE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
+1
-1
@@ -10,5 +10,5 @@ config FS_MQUEUE_MPATH
|
|||||||
default "/var/mqueue"
|
default "/var/mqueue"
|
||||||
---help---
|
---help---
|
||||||
The path to where POSIX message queues will exist in the VFS namespace.
|
The path to where POSIX message queues will exist in the VFS namespace.
|
||||||
|
|
||||||
endif # !DISABLE_MQUEUE
|
endif # !DISABLE_MQUEUE
|
||||||
|
|||||||
@@ -16,5 +16,5 @@ config FS_NAMED_SEMPATH
|
|||||||
default "/var/lock"
|
default "/var/lock"
|
||||||
---help---
|
---help---
|
||||||
The path to where named semaphores will exist in the VFS namespace.
|
The path to where named semaphores will exist in the VFS namespace.
|
||||||
|
|
||||||
endif # FS_NAMED_SEMAPHORES
|
endif # FS_NAMED_SEMAPHORES
|
||||||
|
|||||||
+1
-1
@@ -18,5 +18,5 @@ config FS_SHMPATH
|
|||||||
---help---
|
---help---
|
||||||
The path to where shared memory objects will exist in the VFS
|
The path to where shared memory objects will exist in the VFS
|
||||||
namespace.
|
namespace.
|
||||||
|
|
||||||
endif # FS_SHM
|
endif # FS_SHM
|
||||||
|
|||||||
Reference in New Issue
Block a user