Forked from
drm / kernel
Source project has a limited visibility.
-
Jens Axboe authored
If we're updating an existing slot, we clear the slot bitmap only to set it again right after. Just leave the bit set rather than toggle it off and on, and move the unused slot setting into the branch of not already having a file occupy this slot. Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Jens Axboe authoredIf we're updating an existing slot, we clear the slot bitmap only to set it again right after. Just leave the bit set rather than toggle it off and on, and move the unused slot setting into the branch of not already having a file occupy this slot. Signed-off-by:
Jens Axboe <axboe@kernel.dk>