File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1013,6 +1013,18 @@ jobs:
10131013 fi
10141014 echo "已修复 android13-5.15.41 namespace.c 的 SUSFS sdcard static key 声明"
10151015 fi
1016+ if [[ "$CURRENT_SUB" -eq 41 ]]; then
1017+ if grep -qF 'static DEFINE_IDA(susfs_mnt_id_ida);' ./fs/namespace.c \
1018+ && [ "$(grep -F 'susfs_mnt_id_ida' ./fs/namespace.c | wc -l)" -eq 1 ]; then
1019+ sed -i '/static DEFINE_IDA(susfs_mnt_id_ida);/d' ./fs/namespace.c
1020+ echo "已移除 android13-5.15.41 namespace.c 未使用的 susfs_mnt_id_ida"
1021+ fi
1022+ if grep -qF 'static DEFINE_IDA(susfs_mnt_group_ida);' ./fs/namespace.c \
1023+ && [ "$(grep -F 'susfs_mnt_group_ida' ./fs/namespace.c | wc -l)" -eq 1 ]; then
1024+ sed -i '/static DEFINE_IDA(susfs_mnt_group_ida);/d' ./fs/namespace.c
1025+ echo "已移除 android13-5.15.41 namespace.c 未使用的 susfs_mnt_group_ida"
1026+ fi
1027+ fi
10161028 cp $KERNEL_PATCHES/wild/susfs_fix_patches/v${SUSFS_VERSION}/a13-5.15/fdinfo.c.patch ./
10171029 patch -p1 < fdinfo.c.patch || true
10181030 cp $KERNEL_PATCHES/wild/susfs_fix_patches/v${SUSFS_VERSION}/a13-5.15/open.c.patch ./
You can’t perform that action at this time.
0 commit comments