fs_tmpfs.c: Shorten long lines according to codestyle
This commit is contained in:
parent
1dcf2c7ca3
commit
aeebbd0803
|
@ -662,7 +662,9 @@ static int tmpfs_create_file(FAR struct tmpfs_s *fs,
|
||||||
name = copy;
|
name = copy;
|
||||||
parent = (FAR struct tmpfs_directory_s *)fs->tfs_root.tde_object;
|
parent = (FAR struct tmpfs_directory_s *)fs->tfs_root.tde_object;
|
||||||
|
|
||||||
/* Lock the root directory to emulate the behavior of tmpfs_find_directory() */
|
/* Lock the root directory to emulate the behavior of
|
||||||
|
* tmpfs_find_directory()
|
||||||
|
*/
|
||||||
|
|
||||||
ret = tmpfs_lock_directory(parent);
|
ret = tmpfs_lock_directory(parent);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
@ -1175,7 +1177,9 @@ static int tmpfs_statfs_callout(FAR struct tmpfs_directory_s *tdo,
|
||||||
|
|
||||||
DEBUGASSERT(to != NULL);
|
DEBUGASSERT(to != NULL);
|
||||||
|
|
||||||
/* Accumulate statistics. Save the total memory allocated for this object. */
|
/* Accumulate statistics. Save the total memory allocated
|
||||||
|
* for this object.
|
||||||
|
*/
|
||||||
|
|
||||||
tmpbuf->tsf_alloc += to->to_alloc;
|
tmpbuf->tsf_alloc += to->to_alloc;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue