diff options
Diffstat (limited to 'fs/cifs/cifsglob.h')
| -rw-r--r-- | fs/cifs/cifsglob.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index a5d1106fcbde..76b4517e74b0 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
| @@ -274,7 +274,8 @@ struct cifsSesInfo { | |||
| 274 | int capabilities; | 274 | int capabilities; |
| 275 | char serverName[SERVER_NAME_LEN_WITH_NULL * 2]; /* BB make bigger for | 275 | char serverName[SERVER_NAME_LEN_WITH_NULL * 2]; /* BB make bigger for |
| 276 | TCP names - will ipv6 and sctp addresses fit? */ | 276 | TCP names - will ipv6 and sctp addresses fit? */ |
| 277 | char *user_name; | 277 | char *user_name; /* must not be null except during init of sess |
| 278 | and after mount option parsing we fill it */ | ||
| 278 | char *domainName; | 279 | char *domainName; |
| 279 | char *password; | 280 | char *password; |
| 280 | struct session_key auth_key; | 281 | struct session_key auth_key; |
| @@ -780,10 +781,12 @@ GLOBAL_EXTERN spinlock_t cifs_tcp_ses_lock; | |||
| 780 | */ | 781 | */ |
| 781 | GLOBAL_EXTERN spinlock_t cifs_file_list_lock; | 782 | GLOBAL_EXTERN spinlock_t cifs_file_list_lock; |
| 782 | 783 | ||
| 784 | #ifdef CONFIG_CIFS_DNOTIFY_EXPERIMENTAL /* unused temporarily */ | ||
| 783 | /* Outstanding dir notify requests */ | 785 | /* Outstanding dir notify requests */ |
| 784 | GLOBAL_EXTERN struct list_head GlobalDnotifyReqList; | 786 | GLOBAL_EXTERN struct list_head GlobalDnotifyReqList; |
| 785 | /* DirNotify response queue */ | 787 | /* DirNotify response queue */ |
| 786 | GLOBAL_EXTERN struct list_head GlobalDnotifyRsp_Q; | 788 | GLOBAL_EXTERN struct list_head GlobalDnotifyRsp_Q; |
| 789 | #endif /* was needed for dnotify, and will be needed for inotify when VFS fix */ | ||
| 787 | 790 | ||
| 788 | /* | 791 | /* |
| 789 | * Global transaction id (XID) information | 792 | * Global transaction id (XID) information |
| @@ -830,6 +833,11 @@ GLOBAL_EXTERN unsigned int cifs_max_pending; /* MAX requests at once to server*/ | |||
| 830 | /* reconnect after this many failed echo attempts */ | 833 | /* reconnect after this many failed echo attempts */ |
| 831 | GLOBAL_EXTERN unsigned short echo_retries; | 834 | GLOBAL_EXTERN unsigned short echo_retries; |
| 832 | 835 | ||
| 836 | GLOBAL_EXTERN struct rb_root uidtree; | ||
| 837 | GLOBAL_EXTERN struct rb_root gidtree; | ||
| 838 | GLOBAL_EXTERN spinlock_t siduidlock; | ||
| 839 | GLOBAL_EXTERN spinlock_t sidgidlock; | ||
| 840 | |||
| 833 | void cifs_oplock_break(struct work_struct *work); | 841 | void cifs_oplock_break(struct work_struct *work); |
| 834 | void cifs_oplock_break_get(struct cifsFileInfo *cfile); | 842 | void cifs_oplock_break_get(struct cifsFileInfo *cfile); |
| 835 | void cifs_oplock_break_put(struct cifsFileInfo *cfile); | 843 | void cifs_oplock_break_put(struct cifsFileInfo *cfile); |
