diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-06-20 03:21:16 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-07-24 11:25:08 -0400 |
commit | 6d5786a34d98bffb8ad50d8053d1e53231fe0636 (patch) | |
tree | ae49860befc52cb18dfb2b86929878a204289601 /fs/cifs/misc.c | |
parent | 2e6e02ab6ddbd539fd7e092973daf057adbd53dc (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.c | 4 |
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 | ||
42 | unsigned int | 42 | unsigned 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 | ||
60 | void | 60 | void |
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) |