unlinking a directory on tmpfs does not remove the directory entries
When unlinking a directory on tmpfs the directory itself is removed but the directory entries are not freed. This can lead lead tmpfs to eventually run out of space. Additionally because the reference counting is now out of sync some directories cannot be removed even if they are empty (rmdir will fail with EEXIST).
Updated by Electric Monk about 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit 6da83bb0b886fae280a129718d645576517b62c6 Author: Andrew Stormont <firstname.lastname@example.org> Date: 2016-07-22T14:15:57.000Z 7203 unlinking a directory on tmpfs does not remove the directory entries Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Alexander Stetsenko <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>