On Wed, 10 Sept 2025 at 22:01, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote: > > So let's make sure that all functions we are passing > &dentry->d_name are taking const struct qstr * and replace > ->d_name with an anon union of struct qstr *__d_name and > const struct qstr *d_name. Ack, all these patches look ObviouslyCorrect(tm) to me, and seems a good improvement. Even if it won't catch the more involved cases that worry you more. Linus