Description: Upgrade nuttx according to the upstream community (upgrade some files to V12.2.0)

IssueNo: https://gitee.com/openharmony/third_party_NuttX/issues/I8SZE6
Feature or Bugfix: Bugfix
Binary Source:No
Signed-off-by: cuifeihe <cuifeihe@huawei.com>
This commit is contained in:
cuifeihe
2024-01-02 20:07:27 +08:00
parent c8685a95aa
commit ac0feea6ff
3 changed files with 6 additions and 10 deletions
+1 -3
View File
@@ -186,9 +186,7 @@ ssize_t bchlib_write(void *handle, const char *buffer, loff_t offset, size_t len
/* Adjust counts */
byteswritten += len;
}
}
return byteswritten;
}
+1 -1
View File
@@ -496,7 +496,7 @@ struct LOOKUP3resok
struct READ3args
{
struct file_handle fhandle; /* Variable length */
nfsuint64 offset;
nfsuint64 offset;
uint32_t count;
};
+4 -6
View File
@@ -176,7 +176,6 @@ tryagain:
{
nfs_error("rpcclnt_request failed: %d\n", error);
if (error != -ENOTCONN)
{
return error;
@@ -184,20 +183,19 @@ tryagain:
/* Reconnect */
error = rpcclnt_connect(nmp->nm_rpcclnt);
if(error != 0)
if (error != 0)
{
return error;
}
/* Send the request again */
error = rpcclnt_request(clnt, procnum, NFS_PROG, NFS_VER3,
request, reqlen, response, resplen);
error = rpcclnt_request(clnt, procnum, NFS_PROG, NFS_VER3,
request, reqlen, response, resplen);
if(error != 0)
if (error != 0)
{
return error;
}