hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
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 */