git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
smb3: cleanup and clarify status of tree connections
[sfrench/cifs-2.6.git]
/
fs
/
cifs
/
misc.c
diff --git
a/fs/cifs/misc.c
b/fs/cifs/misc.c
index 56598f7dbe00d8ba3001c52f31141096c85d226b..afaf59c221936f3023c518be2ac6f2d95a9e1e28 100644
(file)
--- a/
fs/cifs/misc.c
+++ b/
fs/cifs/misc.c
@@
-116,7
+116,7
@@
tconInfoAlloc(void)
}
atomic_inc(&tconInfoAllocCount);
- ret_buf->
tidStatus = CifsNew
;
+ ret_buf->
status = TID_NEW
;
++ret_buf->tc_count;
INIT_LIST_HEAD(&ret_buf->openFileList);
INIT_LIST_HEAD(&ret_buf->tcon_list);