Doesn't this introduce a race condition where the key has been updated first and then the file protected? If I understand the code paths correctly, moving the key line up one spot in the table's list should solve this race.
Doesn't this introduce a race condition where the key has been updated first and then the file protected? If I understand the code paths correctly, moving the key line up one spot in the table's list should solve this race.