Eduard Bachmakov <e.bachmakov@xxxxxxxxx> writes: > I don't see is_dfs_mount() being called so in my scenario we're simply > relying on kzalloc initializing dfs_automount to false. It's expected. If your share is DFS and client finds a DFS link or reparse mount point, the dentry set for automount will get mounted with new fs context where where @dfs_automount will be set.