On Sat, Jun 07, 2025 at 01:53:03PM +0200, Amir Goldstein wrote: > -struct path *backing_file_user_path(struct file *f) > +struct path *backing_file_user_path(const struct file *f) > { > return &backing_file(f)->user_path; > } > EXPORT_SYMBOL_GPL(backing_file_user_path); const struct path *, hopefully? With separate backing_file_set_user_path() you shouldn't need to modify that struct path via that functions...