Bug 208405
Summary: | 【ubifs】A potential space leak problem while linking tmpfile | ||
---|---|---|---|
Product: | File System | Reporter: | Zhihao Cheng (chengzhihao1) |
Component: | Other | Assignee: | fs_other |
Status: | NEW --- | ||
Severity: | normal | CC: | info |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.8 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
reproduce.patch
a.c diff a.c test.sh |
Description
Zhihao Cheng
2020-07-01 08:42:07 UTC
Created attachment 290021 [details]
reproduce.patch
Created attachment 290023 [details]
a.c
New reproducer: 1. Apply diff 2. ./test.sh 1 3. powercut when you see "Do powercut" 4. ./test.sh df stat (Used 54M) Filesystem Type Size Used Avail Use% Mounted on /dev/ubi0_0 ubifs 110M 54M 52M 51% /root/temp du stat (Used 0 bytes) 0 /root/temp/dir 0 /root/temp/f2 Created attachment 306072 [details]
diff
Created attachment 306073 [details]
a.c
Created attachment 306074 [details]
test.sh
|