> The first is to do a shrink_dcache_parent() in the generic rmdir code
> before calling the fs-specific operation. All filesystems that I'm aware
> of will want to do this before checking for empty/non-busy directories,
> so it seems like it would be a useful addition.
As you already will have guessed, I would welcome this.
The other change sounds reasonable to me, too.
-- Hans-Joachim Widmaier