• Z
    Delete resize.f2fs option to avoid potential inode fault · c608f25c
    Zheng Yongjun 提交于
    How to reproduce?
    mkdir /data/temp; dd if=/dev/zero of=/data/temp/image bs=1G count=5
    
    what happend?
    ```
    cd /data/
    ls -al
    total 33
    drwxrwx--x 25 system system 4096 2017-08-07 12:56 .
    drwxr-xr-x 16 root   root   4096 2022-08-29 13:15 ..
    drwxrwx--x  6 system system 3488 2017-08-07 12:55 app
    d?????????  ? ?      ?         ?                ? app-staging
    d?????????  ? ?      ?         ?                ? bluetooth
    d?????????  ? ?      ?         ?                ? chipset
    drwxrwx--x  3 system system 3488 2017-08-07 12:55 data
    d?????????  ? ?      ?         ?                ? dhcp
    d?????????  ? ?      ?         ?                ? ethernet
    d?????????  ? ?      ?         ?                ? local
    drwxrwx---  2 gps    gps    3488 2017-08-07 12:55 location
    drwxrwxr-x  9 system log    3488 2017-08-07 12:55 log
    drwxrwx--t  3 system misc   3488 2017-08-07 12:55 misc
    d?????????  ? ?      ?         ?                ? misc_ce
    d?????????  ? ?      ?         ?                ? misc_de
    d?????????  ? ?      ?         ?                ? nfc
    d?????????  ? ?      ?         ?                ? ota_package
    drwx--x--x  5 root   root   3488 2017-08-07 12:55 service
    d?????????  ? ?      ?         ?                ? system
    d?????????  ? ?      ?         ?                ? system_ce
    d?????????  ? ?      ?         ?                ? system_de
    drwxrwxrwx  2 root   root   3488 2017-08-07 12:56 temp
    d?????????  ? ?      ?         ?                ? user
    d?????????  ? ?      ?         ?                ? user_de
    d?????????  ? ?      ?         ?                ? vendor
    ```
    After this patch, this problem fixed.
    Signed-off-by: NZheng Yongjun <zhengyongjun3@huawei.com>
    c608f25c
fstab_mount.c 16.3 KB