hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/cifs/cifsfs.h
....@@ -126,7 +126,10 @@
126126 #ifdef CONFIG_CIFS_DFS_UPCALL
127127 extern struct vfsmount *cifs_dfs_d_automount(struct path *path);
128128 #else
129
-#define cifs_dfs_d_automount NULL
129
+static inline struct vfsmount *cifs_dfs_d_automount(struct path *path)
130
+{
131
+ return ERR_PTR(-EREMOTE);
132
+}
130133 #endif
131134
132135 /* Functions related to symlinks */