Jack Drogon
Jack Drogon
It's a simple way to fix the bug. Change bh->b_size = 1024. But I think it's a good idea to merge linux's new minix code.
现在工作目录创建iwyu目录,然后使用find导出所有文件列表到iwyu/files_list,然后就可以使用iwyu-patch 从1到n 挨个一个个文件进行清理,关于这些需要挨个文件commit。因为iwyu会过度清理,需要有些添加iwyu guard. 下面是iwyu-patch的示例脚本 ```bash #!/bin/bash num=$1 filename=$(sed "${num}q;d" ./iwyu/files_list) shortname=$(echo $filename | awk -F/ '{print $NF}') iwyu_outfile="./iwyu/${shortname}.iwyuout" build_dir=build_Release echo $filename $shortname $iwyu_outfile iwyu_tool.py -p $build_dir $filename > $iwyu_outfile...
I create a new [office-thinner.rb](https://gist.github.com/JackDrogon/53678a54a326b9aaf4102180eeb58cab) for all files with hard link, check the same file by content && inode number.
You can try my gist: https://gist.github.com/JackDrogon/53678a54a326b9aaf4102180eeb58cab.