smb3: cleanup and clarify status of tree connections
[sfrench/cifs-2.6.git] / fs / cifs / misc.c
index 56598f7dbe00d8ba3001c52f31141096c85d226b..afaf59c221936f3023c518be2ac6f2d95a9e1e28 100644 (file)
@@ -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);