aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index a7610cfedf0a..2e9929dc2072 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -158,9 +158,9 @@ cifs_statfs(struct dentry *dentry, struct kstatfs *buf)
158 struct cifs_sb_info *cifs_sb = CIFS_SB(sb); 158 struct cifs_sb_info *cifs_sb = CIFS_SB(sb);
159 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); 159 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);
160 int rc = -EOPNOTSUPP; 160 int rc = -EOPNOTSUPP;
161 int xid; 161 unsigned int xid;
162 162
163 xid = GetXid(); 163 xid = get_xid();
164 164
165 buf->f_type = CIFS_MAGIC_NUMBER; 165 buf->f_type = CIFS_MAGIC_NUMBER;
166 166
@@ -197,7 +197,7 @@ cifs_statfs(struct dentry *dentry, struct kstatfs *buf)
197 if (rc) 197 if (rc)
198 rc = SMBOldQFSInfo(xid, tcon, buf); 198 rc = SMBOldQFSInfo(xid, tcon, buf);
199 199
200 FreeXid(xid); 200 free_xid(xid);
201 return 0; 201 return 0;
202} 202}
203 203