aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_dfs_ref.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-06-20 03:21:16 -0400
committerSteve French <smfrench@gmail.com>2012-07-24 11:25:08 -0400
commit6d5786a34d98bffb8ad50d8053d1e53231fe0636 (patch)
treeae49860befc52cb18dfb2b86929878a204289601 /fs/cifs/cifs_dfs_ref.c
parent2e6e02ab6ddbd539fd7e092973daf057adbd53dc (diff)
CIFS: Rename Get/FreeXid and make them work with unsigned int
Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifs_dfs_ref.c')
-rw-r--r--fs/cifs/cifs_dfs_ref.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/cifs/cifs_dfs_ref.c b/fs/cifs/cifs_dfs_ref.c
index 6873bb634a97..ce5cbd717bfc 100644
--- a/fs/cifs/cifs_dfs_ref.c
+++ b/fs/cifs/cifs_dfs_ref.c
@@ -275,7 +275,8 @@ static struct vfsmount *cifs_dfs_do_automount(struct dentry *mntpt)
275 struct cifs_sb_info *cifs_sb; 275 struct cifs_sb_info *cifs_sb;
276 struct cifs_ses *ses; 276 struct cifs_ses *ses;
277 char *full_path; 277 char *full_path;
278 int xid, i; 278 unsigned int xid;
279 int i;
279 int rc; 280 int rc;
280 struct vfsmount *mnt; 281 struct vfsmount *mnt;
281 struct tcon_link *tlink; 282 struct tcon_link *tlink;
@@ -302,11 +303,11 @@ static struct vfsmount *cifs_dfs_do_automount(struct dentry *mntpt)
302 } 303 }
303 ses = tlink_tcon(tlink)->ses; 304 ses = tlink_tcon(tlink)->ses;
304 305
305 xid = GetXid(); 306 xid = get_xid();
306 rc = get_dfs_path(xid, ses, full_path + 1, cifs_sb->local_nls, 307 rc = get_dfs_path(xid, ses, full_path + 1, cifs_sb->local_nls,
307 &num_referrals, &referrals, 308 &num_referrals, &referrals,
308 cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR); 309 cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR);
309 FreeXid(xid); 310 free_xid(xid);
310 311
311 cifs_put_tlink(tlink); 312 cifs_put_tlink(tlink);
312 313