aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r--fs/cifs/dir.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c
index aa0669a82922..81914df47ef1 100644
--- a/fs/cifs/dir.c
+++ b/fs/cifs/dir.c
@@ -54,7 +54,7 @@ build_path_from_dentry(struct dentry *direntry)
54 char *full_path; 54 char *full_path;
55 char dirsep; 55 char dirsep;
56 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); 56 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb);
57 struct cifsTconInfo *tcon = cifs_sb_master_tcon(cifs_sb); 57 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
58 58
59 if (direntry == NULL) 59 if (direntry == NULL)
60 return NULL; /* not much we can do if dentry is freed and 60 return NULL; /* not much we can do if dentry is freed and
@@ -149,7 +149,7 @@ cifs_create(struct inode *inode, struct dentry *direntry, int mode,
149 __u16 fileHandle; 149 __u16 fileHandle;
150 struct cifs_sb_info *cifs_sb; 150 struct cifs_sb_info *cifs_sb;
151 struct tcon_link *tlink; 151 struct tcon_link *tlink;
152 struct cifsTconInfo *tcon; 152 struct cifs_tcon *tcon;
153 char *full_path = NULL; 153 char *full_path = NULL;
154 FILE_ALL_INFO *buf = NULL; 154 FILE_ALL_INFO *buf = NULL;
155 struct inode *newinode = NULL; 155 struct inode *newinode = NULL;
@@ -353,7 +353,7 @@ int cifs_mknod(struct inode *inode, struct dentry *direntry, int mode,
353 int xid; 353 int xid;
354 struct cifs_sb_info *cifs_sb; 354 struct cifs_sb_info *cifs_sb;
355 struct tcon_link *tlink; 355 struct tcon_link *tlink;
356 struct cifsTconInfo *pTcon; 356 struct cifs_tcon *pTcon;
357 struct cifs_io_parms io_parms; 357 struct cifs_io_parms io_parms;
358 char *full_path = NULL; 358 char *full_path = NULL;
359 struct inode *newinode = NULL; 359 struct inode *newinode = NULL;
@@ -485,7 +485,7 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry,
485 bool posix_open = false; 485 bool posix_open = false;
486 struct cifs_sb_info *cifs_sb; 486 struct cifs_sb_info *cifs_sb;
487 struct tcon_link *tlink; 487 struct tcon_link *tlink;
488 struct cifsTconInfo *pTcon; 488 struct cifs_tcon *pTcon;
489 struct cifsFileInfo *cfile; 489 struct cifsFileInfo *cfile;
490 struct inode *newInode = NULL; 490 struct inode *newInode = NULL;
491 char *full_path = NULL; 491 char *full_path = NULL;