.. | .. |
---|
51 | 51 | */ |
---|
52 | 52 | #define CIFS_MOUNT_UID_FROM_ACL 0x2000000 /* try to get UID via special SID */ |
---|
53 | 53 | #define CIFS_MOUNT_NO_HANDLE_CACHE 0x4000000 /* disable caching dir handles */ |
---|
| 54 | +#define CIFS_MOUNT_NO_DFS 0x8000000 /* disable DFS resolving */ |
---|
| 55 | +#define CIFS_MOUNT_MODE_FROM_SID 0x10000000 /* retrieve mode from special ACE */ |
---|
| 56 | +#define CIFS_MOUNT_RO_CACHE 0x20000000 /* assumes share will not change */ |
---|
| 57 | +#define CIFS_MOUNT_RW_CACHE 0x40000000 /* assumes only client accessing */ |
---|
54 | 58 | |
---|
55 | 59 | struct cifs_sb_info { |
---|
56 | 60 | struct rb_root tlink_tree; |
---|
57 | 61 | spinlock_t tlink_tree_lock; |
---|
58 | 62 | struct tcon_link *master_tlink; |
---|
59 | 63 | struct nls_table *local_nls; |
---|
| 64 | + unsigned int bsize; |
---|
60 | 65 | unsigned int rsize; |
---|
61 | 66 | unsigned int wsize; |
---|
62 | 67 | unsigned long actimeo; /* attribute cache timeout (jiffies) */ |
---|
.. | .. |
---|
71 | 76 | char *mountdata; /* options received at mount time or via DFS refs */ |
---|
72 | 77 | struct delayed_work prune_tlinks; |
---|
73 | 78 | struct rcu_head rcu; |
---|
| 79 | + |
---|
| 80 | + /* only used when CIFS_MOUNT_USE_PREFIX_PATH is set */ |
---|
74 | 81 | char *prepath; |
---|
| 82 | + |
---|
| 83 | + /* |
---|
| 84 | + * Path initially provided by the mount call. We might connect |
---|
| 85 | + * to something different via DFS but we want to keep it to do |
---|
| 86 | + * failover properly. |
---|
| 87 | + */ |
---|
| 88 | + char *origin_fullpath; /* \\HOST\SHARE\[OPTIONAL PATH] */ |
---|
75 | 89 | /* |
---|
76 | 90 | * Indicate whether serverino option was turned off later |
---|
77 | 91 | * (cifs_autodisable_serverino) in order to match new mounts. |
---|