mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Run nxstyle against files modified in previous commit.
This commit is contained in:
+6
-2
@@ -390,7 +390,9 @@ static int rwb_rhreload(FAR struct rwbuffer_s *rwb, off_t startblock)
|
||||
rwb->rhnblocks = nblocks;
|
||||
rwb->rhblockstart = startblock;
|
||||
|
||||
/* The return value is not the number of blocks we asked to be loaded. */
|
||||
/* The return value is not the number of blocks we asked to be
|
||||
* loaded.
|
||||
*/
|
||||
|
||||
return nblocks;
|
||||
}
|
||||
@@ -1003,7 +1005,9 @@ ssize_t rwb_write(FAR struct rwbuffer_s *rwb, off_t startblock,
|
||||
{
|
||||
finfo("startblock=%d wrbuffer=%p\n", startblock, wrbuffer);
|
||||
|
||||
/* Use the block cache unless the buffer size is bigger than block cache */
|
||||
/* Use the block cache unless the buffer size is bigger than block
|
||||
* cache.
|
||||
*/
|
||||
|
||||
if (nblocks > rwb->wrmaxblocks)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user