21b1c99f43
Thus, we need to convert the mask to the number (by ffs()) when writing back this value to the resource in save_resource().