Commit Graph

626 Commits

Author SHA1 Message Date
Far 9b2b700fa0 fix: some branch in format does not release the vnode mutex properly
if fatfs_mkfs returns a error, format may return without drop the vnode mutex, which may cause deadlock

Close #I3OFAY
2021-04-27 16:49:23 +08:00
openharmony_ci 34f35524aa !184 add testsuites
Merge pull request !184 from lnlan/master
2021-04-27 09:53:19 +08:00
openharmony_ci 7e698f4b22 !189 添加BOOTENV存放在RAM中的单独配置宏
Merge pull request !189 from boxi/master
2021-04-26 20:46:20 +08:00
openharmony_ci db6ac1f57a !188 fix an inappropriate errno in FatFs.
Merge pull request !188 from JING/master
2021-04-26 20:27:13 +08:00
boxi e28e06b08f fix: Provide a separate configuration macro for boot environment in RAM. 2021-04-26 20:15:46 +08:00
YOUR_NAME 5bf4d1c712 fix: no exception information output, when the system is abnormal
after holding the scheduling lock in SMP.

Change-Id: I6f148d7b36d7aa6d0df09300949f53ea3c3d63b7
2021-04-26 20:13:13 +08:00
boxi bc67393a67 fix: Provide a separate configuration macro for boot environment in RAM. 2021-04-26 19:55:31 +08:00
zhushengle 6d63f75e7f fix:Solve the coupling between the kernel and the structure under ARCH.
Close #I3OAFR

Change-Id: Icea238e20adf402d0ec1fc7e47ff4e58124a5e83
2021-04-26 19:54:49 +08:00
boxi f13b90e430 fix: Provide a separate configuration macro for boot environment in RAM.
Provide a separate configuration macro for boot environment in RAM.
Depends on: Need to copy boot environment data to the specified ram by boot.

Closes #I3OADR

Change-Id: Ie36a92c0a44f245482d1602c3a6851395944776d
2021-04-26 19:39:52 +08:00
chenjing af61187587 fix: fix the inappropriate errno in FatFs
The errno of unrecognized fat filesystem changes from ENOENT to ENOTSUP.

Close #I3O8IF
2021-04-26 16:18:51 +08:00
Haryslee 20754539e4 remove redundant field regions in VmSpace structure
Change-Id: I626a96376fe6bee69b10ee9b56495d62849c19b7
2021-04-26 14:39:45 +08:00
YOUR_NAME 28aa777191 fix: no exception information output, when the system is abnormal
after holding the scheduling lock in SMP.

Change-Id: Ib10128fede9aa3e00269f1265089a917ffd96d88
2021-04-25 20:53:33 +08:00
YOUR_NAME 0ed8adfe3a fix: no exception information output, when the system is abnormal after holding
the scheduling lock in SMP.

Change-Id: Idb793a5446126e638af52ff78b43bb7f8271317c
2021-04-25 20:16:51 +08:00
lnlan 778c5e17c3 add testsuites
Change-Id: Ice1193d1ae7f2e0d12a2a38a306a6399407f5037
2021-04-25 17:35:47 +08:00
openharmony_ci 806ce4eb26 !183 fix: dereference NULL point bug fix
Merge pull request !183 from MGY917/signal_bug_fix
2021-04-25 14:20:21 +08:00
Guangyao Ma deaa564a66 fix: dereference NULL point bug fix
Change-Id: Ib068696c9280105e209469e875c187d741b704d2
2021-04-25 11:47:05 +08:00
openharmony_ci be40fa1381 !178 当从hashtable中获取Vnode缓存时,需要刷新Vnode的parent指针
Merge pull request !178 from Far/fatfs
2021-04-24 11:30:01 +08:00
openharmony_ci fbdb808d11 !169 los_disk_cache_clear错误日志缺少换行符
Merge pull request !169 from Far/dev
2021-04-24 09:39:54 +08:00
openharmony_ci 677c5624e6 !175 编译qemu工程中制作rootfs镜像时,目标目录不存在
Merge pull request !175 from SimonLi/master
2021-04-24 09:39:09 +08:00
openharmony_ci 9e7af58b2d !181 修复PathCache结构器中的name域被错误地尝试free
Merge pull request !181 from Far/master
2021-04-24 09:33:33 +08:00
Far 9f47faff73 fix: PathCacheFree try to free name field in struct PathCache
The name field of struct PathCache is not allocated. It should not try to free it by free(nc->name)

Close #I3NTH9
2021-04-23 15:28:44 +08:00
openharmony_ci 06576f4c07 !180 用户态异常栈回溯过程LR解析的值不正确
Merge pull request !180 from zhangfanfan2/master
2021-04-23 15:17:41 +08:00
zhangfanfan2 9ab63a41b3 fix:LR value is incorrectly parsed when the user mode exception stack is backtracked 2021-04-23 11:53:06 +08:00
openharmony_ci e93ff481bb !172 【轻量级 PR】:expand HILOG_BUFFER to reduce the probability of hilog loss
Merge pull request !172 from shenchenkai/N/A
2021-04-22 20:17:23 +08:00
openharmony_ci 6085048a95 !179 liteos_a仓中.gitignore文件对打patch生成的冲突文件做了不必要的屏蔽
Merge pull request !179 from boxi/master
2021-04-22 17:22:18 +08:00
boxi 35f7957975 fix: Show conflicting files for git apply or patch -p command
Modify the .gitignore file to display the conflicting files of git apply or patch -px.

Close #I3NNUS

Change-Id: I0ca0e312d0a83326e661d997181167e61b63e4b4
2021-04-22 16:44:46 +08:00
Far f32caa52c6 fix: parent point of vnode found by VfsHashGet should be updated
When fatfs_lookup find a vnode from hashlist, the field parent of vnode should be updated,
because the old parent may be reclaimed.

Close #I3NNFA
2021-04-22 16:24:08 +08:00
openharmony_ci dc90400456 !171 ftruncate新增支持FAT12与FAT16
Merge pull request !171 from JING/ftruncate
2021-04-22 15:21:21 +08:00
openharmony_ci 3e5dec4dc9 !170 若/userdata目录已存在,继续挂载userdata分区
Merge pull request !170 from JING/master
2021-04-22 15:19:54 +08:00
openharmony_ci ba778ec212 !176 当从hashtable中获取vnode缓存时,需要刷新vnode缓存的parent指针
Merge pull request !176 from 野生毛霉君/master
2021-04-22 11:48:58 +08:00
openharmony_ci 0c1ff2ef76 !174 将NORETURN声明放到函数前,KEIL不支持放在函数后
Merge pull request !174 from Caoruihong/fix_noreturn
2021-04-22 11:26:46 +08:00
mucor e8178d5917 refresh parent vnode when get vnode from hash table
Change-Id: I3cc042b1fcd00022bc6ba48e2a05d70f351b83de
2021-04-22 11:23:25 +08:00
JING 3027cfe543 fix ftruncate 2021-04-22 11:12:28 +08:00
SimonLi 21bf2b8899 fix(build): fix rootfsdir.sh target directory not exist
Close #I3NHQ0
2021-04-21 20:54:15 +08:00
openharmony_ci 89ed41a016 !173 [Desc] fix bug: kernel crashed after rmdir the umounted folder
Merge pull request !173 from LeonChan/lc-master
2021-04-21 19:31:12 +08:00
LeonChan f305d1f702 fix: kernel crashed when delete a umounted folder 2021-04-21 18:35:15 +08:00
chenwei ac0d083b1c fix: kernel crashed after rmdir the umounted folder
Close: I3NGBT
Change-Id: I70130c42061e51f5978b48befea66a5925386343
2021-04-21 17:31:28 +08:00
Caoruihong 18a98d1cb4 move noreturn attribute in front
Change-Id: Idce45c48e41b6794de21635517cab8a9d2c9ef03
2021-04-21 17:19:56 +08:00
shenchenkai 84f1519486 expand HILOG_BUFFER to reduce the probability of hilog loss 2021-04-21 16:54:40 +08:00
chenjing b9c544d898 Description: [fix]ftruncate bugfix
Bug: #I3NEVN
Test:
2021-04-21 16:16:08 +08:00
JING da6ca200fb update kernel/common/los_rootfs.c. 2021-04-21 15:57:15 +08:00
JING 55f84a2ead /userdata目录若已存在,仍然挂载 2021-04-21 14:58:39 +08:00
Far 5f6f683fab style: los_disk_cache_clear error message has no \n(LF)
Close #I3NCDD
2021-04-21 11:01:09 +08:00
openharmony_ci 6ee33eb893 !165 【轻量级 PR】:update fs/vfs/vnode_hash.c.
Merge pull request !165 from 冷钦街/N/A
2021-04-21 08:37:54 +08:00
openharmony_ci 7dd3b59fb0 !166 【轻量级 PR】:update fs/vfs/mount.c.
Merge pull request !166 from 冷钦街/N/A
2021-04-21 08:37:09 +08:00
openharmony_ci 41c86df7ca !168 【轻量级 PR】:update fs/vfs/path_cache.c.
Merge pull request !168 from 冷钦街/N/A
2021-04-21 08:35:44 +08:00
冷钦街 d7798fd0ab update fs/vfs/path_cache.c. 2021-04-20 22:16:09 +08:00
openharmony_ci 5605063950 !163 [Desc] add debug code to fix bug: kernel crashed after rmdir the umounted folder 3
Merge pull request !163 from LeonChan/lc-master
2021-04-20 19:09:47 +08:00
冷钦街 0566bccffa update fs/vfs/mount.c. 2021-04-20 18:35:15 +08:00
openharmony_ci ef4341acea !162 fix: lookup new vnode may cause parent vnode freeing
Merge pull request !162 from Far/dev
2021-04-20 18:31:10 +08:00