N3940 Post-Issaquah
Fix perms_mask should be perms::mask in three places. (Edward Smith-Rowland) Note: this change did make it into the Post-Issaquah WP.