diff options
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index f259e4d7612d..7136c0c3e2f9 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -45,6 +45,16 @@ | |||
45 | #define CIFS_MIN_RCV_POOL 4 | 45 | #define CIFS_MIN_RCV_POOL 4 |
46 | 46 | ||
47 | /* | 47 | /* |
48 | * default attribute cache timeout (jiffies) | ||
49 | */ | ||
50 | #define CIFS_DEF_ACTIMEO (1 * HZ) | ||
51 | |||
52 | /* | ||
53 | * max attribute cache timeout (jiffies) - 2^30 | ||
54 | */ | ||
55 | #define CIFS_MAX_ACTIMEO (1 << 30) | ||
56 | |||
57 | /* | ||
48 | * MAX_REQ is the maximum number of requests that WE will send | 58 | * MAX_REQ is the maximum number of requests that WE will send |
49 | * on one socket concurrently. It also matches the most common | 59 | * on one socket concurrently. It also matches the most common |
50 | * value of max multiplex returned by servers. We may | 60 | * value of max multiplex returned by servers. We may |
@@ -336,7 +346,8 @@ struct cifsTconInfo { | |||
336 | * "get" on the container. | 346 | * "get" on the container. |
337 | */ | 347 | */ |
338 | struct tcon_link { | 348 | struct tcon_link { |
339 | unsigned long tl_index; | 349 | struct rb_node tl_rbnode; |
350 | uid_t tl_uid; | ||
340 | unsigned long tl_flags; | 351 | unsigned long tl_flags; |
341 | #define TCON_LINK_MASTER 0 | 352 | #define TCON_LINK_MASTER 0 |
342 | #define TCON_LINK_PENDING 1 | 353 | #define TCON_LINK_PENDING 1 |
@@ -745,8 +756,6 @@ GLOBAL_EXTERN unsigned int GlobalTotalActiveXid; /* prot by GlobalMid_Sem */ | |||
745 | GLOBAL_EXTERN unsigned int GlobalMaxActiveXid; /* prot by GlobalMid_Sem */ | 756 | GLOBAL_EXTERN unsigned int GlobalMaxActiveXid; /* prot by GlobalMid_Sem */ |
746 | GLOBAL_EXTERN spinlock_t GlobalMid_Lock; /* protects above & list operations */ | 757 | GLOBAL_EXTERN spinlock_t GlobalMid_Lock; /* protects above & list operations */ |
747 | /* on midQ entries */ | 758 | /* on midQ entries */ |
748 | GLOBAL_EXTERN char Local_System_Name[15]; | ||
749 | |||
750 | /* | 759 | /* |
751 | * Global counters, updated atomically | 760 | * Global counters, updated atomically |
752 | */ | 761 | */ |