]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/cifs/cifsfs.h
CIFS: Use d_automount() rather than abusing follow_link()
[mv-sheeva.git] / fs / cifs / cifsfs.h
index 897b2b2b28b539cb0c74847a1690d6e84929ab84..851030f749391729a315a915ba0c934cb6e981cf 100644 (file)
@@ -93,6 +93,12 @@ extern int cifs_readdir(struct file *file, void *direntry, filldir_t filldir);
 extern const struct dentry_operations cifs_dentry_ops;
 extern const struct dentry_operations cifs_ci_dentry_ops;
 
+#ifdef CONFIG_CIFS_DFS_UPCALL
+extern struct vfsmount *cifs_dfs_d_automount(struct path *path);
+#else
+#define cifs_dfs_d_automount NULL
+#endif
+
 /* Functions related to symlinks */
 extern void *cifs_follow_link(struct dentry *direntry, struct nameidata *nd);
 extern void cifs_put_link(struct dentry *direntry,