aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/misc.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/misc.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/misc.c')
-rw-r--r--fs/cifs/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c
index 557506ae1e2a..64601146f157 100644
--- a/fs/cifs/misc.c
+++ b/fs/cifs/misc.c
@@ -40,7 +40,7 @@ extern mempool_t *cifs_req_poolp;
40 since the cifs fs was mounted */ 40 since the cifs fs was mounted */
41 41
42unsigned int 42unsigned int
43_GetXid(void) 43_get_xid(void)
44{ 44{
45 unsigned int xid; 45 unsigned int xid;
46 46
@@ -58,7 +58,7 @@ _GetXid(void)
58} 58}
59 59
60void 60void
61_FreeXid(unsigned int xid) 61_free_xid(unsigned int xid)
62{ 62{
63 spin_lock(&GlobalMid_Lock); 63 spin_lock(&GlobalMid_Lock);
64 /* if (GlobalTotalActiveXid == 0) 64 /* if (GlobalTotalActiveXid == 0)