aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-06-04 01:53:15 -0400
committerSteve French <sfrench@us.ibm.com>2006-06-04 01:53:15 -0400
commit254e55ed03e2e8d23089b4a468eec2fd2e1ead9b (patch)
treeaf99361609403301ab1c758e2988e79dc155a710 /fs/cifs/cifsglob.h
parentbdc4bf6e8ac8cc29c61c2f0dc61d9776ef9a8ed4 (diff)
CIFS] Support for older servers which require plaintext passwords - part 2
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 975e69a2e1c4..87453a6bcaf8 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -212,12 +212,12 @@ struct cifsTconInfo {
212 struct list_head openFileList; 212 struct list_head openFileList;
213 struct semaphore tconSem; 213 struct semaphore tconSem;
214 struct cifsSesInfo *ses; /* pointer to session associated with */ 214 struct cifsSesInfo *ses; /* pointer to session associated with */
215 char treeName[MAX_TREE_SIZE + 1]; /* UNC name of resource (in ASCII not UTF) */ 215 char treeName[MAX_TREE_SIZE + 1]; /* UNC name of resource in ASCII */
216 char *nativeFileSystem; 216 char *nativeFileSystem;
217 __u16 tid; /* The 2 byte tree id */ 217 __u16 tid; /* The 2 byte tree id */
218 __u16 Flags; /* optional support bits */ 218 __u16 Flags; /* optional support bits */
219 enum statusEnum tidStatus; 219 enum statusEnum tidStatus;
220 atomic_t useCount; /* how many mounts (explicit or implicit) to this share */ 220 atomic_t useCount; /* how many explicit/implicit mounts to share */
221#ifdef CONFIG_CIFS_STATS 221#ifdef CONFIG_CIFS_STATS
222 atomic_t num_smbs_sent; 222 atomic_t num_smbs_sent;
223 atomic_t num_writes; 223 atomic_t num_writes;
@@ -257,7 +257,7 @@ struct cifsTconInfo {
257 spinlock_t stat_lock; 257 spinlock_t stat_lock;
258#endif /* CONFIG_CIFS_STATS */ 258#endif /* CONFIG_CIFS_STATS */
259 FILE_SYSTEM_DEVICE_INFO fsDevInfo; 259 FILE_SYSTEM_DEVICE_INFO fsDevInfo;
260 FILE_SYSTEM_ATTRIBUTE_INFO fsAttrInfo; /* ok if file system name truncated */ 260 FILE_SYSTEM_ATTRIBUTE_INFO fsAttrInfo; /* ok if fs name truncated */
261 FILE_SYSTEM_UNIX_INFO fsUnixInfo; 261 FILE_SYSTEM_UNIX_INFO fsUnixInfo;
262 unsigned retry:1; 262 unsigned retry:1;
263 unsigned nocase:1; 263 unsigned nocase:1;
@@ -308,7 +308,6 @@ struct cifsFileInfo {
308 atomic_t wrtPending; /* handle in use - defer close */ 308 atomic_t wrtPending; /* handle in use - defer close */
309 struct semaphore fh_sem; /* prevents reopen race after dead ses*/ 309 struct semaphore fh_sem; /* prevents reopen race after dead ses*/
310 char * search_resume_name; /* BB removeme BB */ 310 char * search_resume_name; /* BB removeme BB */
311 unsigned int resume_name_length; /* BB removeme - field renamed and moved BB */
312 struct cifs_search_info srch_inf; 311 struct cifs_search_info srch_inf;
313}; 312};
314 313
@@ -523,16 +522,16 @@ GLOBAL_EXTERN rwlock_t GlobalSMBSeslock; /* protects list inserts on 3 above */
523GLOBAL_EXTERN struct list_head GlobalOplock_Q; 522GLOBAL_EXTERN struct list_head GlobalOplock_Q;
524 523
525GLOBAL_EXTERN struct list_head GlobalDnotifyReqList; /* Outstanding dir notify requests */ 524GLOBAL_EXTERN struct list_head GlobalDnotifyReqList; /* Outstanding dir notify requests */
526GLOBAL_EXTERN struct list_head GlobalDnotifyRsp_Q; /* Dir notify response queue */ 525GLOBAL_EXTERN struct list_head GlobalDnotifyRsp_Q;/* DirNotify response queue */
527 526
528/* 527/*
529 * Global transaction id (XID) information 528 * Global transaction id (XID) information
530 */ 529 */
531GLOBAL_EXTERN unsigned int GlobalCurrentXid; /* protected by GlobalMid_Sem */ 530GLOBAL_EXTERN unsigned int GlobalCurrentXid; /* protected by GlobalMid_Sem */
532GLOBAL_EXTERN unsigned int GlobalTotalActiveXid; /* prot by GlobalMid_Sem */ 531GLOBAL_EXTERN unsigned int GlobalTotalActiveXid; /* prot by GlobalMid_Sem */
533GLOBAL_EXTERN unsigned int GlobalMaxActiveXid; /* prot by GlobalMid_Sem */ 532GLOBAL_EXTERN unsigned int GlobalMaxActiveXid; /* prot by GlobalMid_Sem */
534GLOBAL_EXTERN spinlock_t GlobalMid_Lock; /* protects above and list operations */ 533GLOBAL_EXTERN spinlock_t GlobalMid_Lock; /* protects above & list operations */
535 /* on midQ entries */ 534 /* on midQ entries */
536GLOBAL_EXTERN char Local_System_Name[15]; 535GLOBAL_EXTERN char Local_System_Name[15];
537 536
538/* 537/*
@@ -554,7 +553,7 @@ GLOBAL_EXTERN atomic_t smBufAllocCount;
554GLOBAL_EXTERN atomic_t midCount; 553GLOBAL_EXTERN atomic_t midCount;
555 554
556/* Misc globals */ 555/* Misc globals */
557GLOBAL_EXTERN unsigned int multiuser_mount; /* if enabled allows new sessions 556GLOBAL_EXTERN unsigned int multiuser_mount; /* if enabled allows new sessions
558 to be established on existing mount if we 557 to be established on existing mount if we
559 have the uid/password or Kerberos credential 558 have the uid/password or Kerberos credential
560 or equivalent for current user */ 559 or equivalent for current user */