Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
cifs_dfs_ref.c File Reference
#include <linux/dcache.h>
#include <linux/mount.h>
#include <linux/namei.h>
#include <linux/slab.h>
#include <linux/vfs.h>
#include <linux/fs.h>
#include "cifsglob.h"
#include "cifsproto.h"
#include "cifsfs.h"
#include "dns_resolve.h"
#include "cifs_debug.h"

Go to the source code of this file.

Functions

void cifs_dfs_release_automount_timer (void)
 
charcifs_compose_mount_options (const char *sb_mountdata, const char *fullpath, const struct dfs_info3_param *ref, char **devname)
 
struct vfsmountcifs_dfs_d_automount (struct path *path)
 

Variables

struct inode_operations cifs_dfs_referral_inode_operations
 

Function Documentation

char* cifs_compose_mount_options ( const char sb_mountdata,
const char fullpath,
const struct dfs_info3_param ref,
char **  devname 
)

cifs_compose_mount_options - creates mount options for refferral : parent/root DFS mount options (template) : full path in UNC format server's referral : pointer for saving device name

creates mount options for submount based on template options sb_mountdata and replacing unc,ip,prefixpath options with ones we've got form ref_unc.

Returns: pointer to new mount options or ERR_PTR. Caller is responcible for freeing retunrned value if it is not error.

Definition at line 119 of file cifs_dfs_ref.c.

struct vfsmount* cifs_dfs_d_automount ( struct path path)
read

Definition at line 351 of file cifs_dfs_ref.c.

void cifs_dfs_release_automount_timer ( void  )

Definition at line 44 of file cifs_dfs_ref.c.

Variable Documentation

struct inode_operations cifs_dfs_referral_inode_operations
Initial value:
= {
}

Definition at line 371 of file cifs_dfs_ref.c.