aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/link.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/link.c')
-rw-r--r--fs/cifs/link.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/cifs/link.c b/fs/cifs/link.c
index 4682d44b6f5b..556b1a0b54de 100644
--- a/fs/cifs/link.c
+++ b/fs/cifs/link.c
@@ -175,7 +175,7 @@ CIFSFormatMFSymlink(u8 *buf, unsigned int buf_len, const char *link_str)
175} 175}
176 176
177static int 177static int
178CIFSCreateMFSymLink(const int xid, struct cifsTconInfo *tcon, 178CIFSCreateMFSymLink(const int xid, struct cifs_tcon *tcon,
179 const char *fromName, const char *toName, 179 const char *fromName, const char *toName,
180 const struct nls_table *nls_codepage, int remap) 180 const struct nls_table *nls_codepage, int remap)
181{ 181{
@@ -223,7 +223,7 @@ CIFSCreateMFSymLink(const int xid, struct cifsTconInfo *tcon,
223} 223}
224 224
225static int 225static int
226CIFSQueryMFSymLink(const int xid, struct cifsTconInfo *tcon, 226CIFSQueryMFSymLink(const int xid, struct cifs_tcon *tcon,
227 const unsigned char *searchName, char **symlinkinfo, 227 const unsigned char *searchName, char **symlinkinfo,
228 const struct nls_table *nls_codepage, int remap) 228 const struct nls_table *nls_codepage, int remap)
229{ 229{
@@ -298,7 +298,7 @@ CIFSCheckMFSymlink(struct cifs_fattr *fattr,
298 int oplock = 0; 298 int oplock = 0;
299 __u16 netfid = 0; 299 __u16 netfid = 0;
300 struct tcon_link *tlink; 300 struct tcon_link *tlink;
301 struct cifsTconInfo *pTcon; 301 struct cifs_tcon *pTcon;
302 struct cifs_io_parms io_parms; 302 struct cifs_io_parms io_parms;
303 u8 *buf; 303 u8 *buf;
304 char *pbuf; 304 char *pbuf;
@@ -380,7 +380,7 @@ cifs_hardlink(struct dentry *old_file, struct inode *inode,
380 char *toName = NULL; 380 char *toName = NULL;
381 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); 381 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb);
382 struct tcon_link *tlink; 382 struct tcon_link *tlink;
383 struct cifsTconInfo *pTcon; 383 struct cifs_tcon *pTcon;
384 struct cifsInodeInfo *cifsInode; 384 struct cifsInodeInfo *cifsInode;
385 385
386 tlink = cifs_sb_tlink(cifs_sb); 386 tlink = cifs_sb_tlink(cifs_sb);
@@ -455,7 +455,7 @@ cifs_follow_link(struct dentry *direntry, struct nameidata *nd)
455 char *target_path = NULL; 455 char *target_path = NULL;
456 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); 456 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb);
457 struct tcon_link *tlink = NULL; 457 struct tcon_link *tlink = NULL;
458 struct cifsTconInfo *tcon; 458 struct cifs_tcon *tcon;
459 459
460 xid = GetXid(); 460 xid = GetXid();
461 461
@@ -528,7 +528,7 @@ cifs_symlink(struct inode *inode, struct dentry *direntry, const char *symname)
528 int xid; 528 int xid;
529 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); 529 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb);
530 struct tcon_link *tlink; 530 struct tcon_link *tlink;
531 struct cifsTconInfo *pTcon; 531 struct cifs_tcon *pTcon;
532 char *full_path = NULL; 532 char *full_path = NULL;
533 struct inode *newinode = NULL; 533 struct inode *newinode = NULL;
534 534