[PATCH V6 4/6] kdumpctl: Move file modification check logic in is_system_modified()