[go: up one dir, main page]

|
|
Log in / Subscribe / Register

Messiness in removing directories

Messiness in removing directories

Posted Jun 17, 2018 4:52 UTC (Sun) by viro (subscriber, #7872)
In reply to: Messiness in removing directories by ebiederm
Parent article: Messiness in removing directories

Close, but not quite. We do need something close to d_invalidate(), except that it ought to be combined with recursive removal. There's quite a few places that open-code what's essentially rm -rf. And it has to be done in the code that initiates the removal - there's no way in hell for generic syscalls to guess what would get such treatment.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds