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 almost 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit 6da83bb0b886fae280a129718d645576517b62c6 Author: Andrew Stormont <email@example.com> Date: 2016-07-22T14:15:57.000Z 7203 unlinking a directory on tmpfs does not remove the directory entries Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Alexander Stetsenko <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>