mirror of
https://github.com/openharmony/third_party_NuttX.git
synced 2026-07-01 08:17:34 -04:00
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:
@@ -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
@@ -496,7 +496,7 @@ struct LOOKUP3resok
|
||||
struct READ3args
|
||||
{
|
||||
struct file_handle fhandle; /* Variable length */
|
||||
nfsuint64 offset;
|
||||
nfsuint64 offset;
|
||||
uint32_t count;
|
||||
};
|
||||
|
||||
|
||||
+4
-6
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user