Cache the underlying filesystem capabilities at connection time.
[samba.git] / source3 / include / smb.h
index 1222c9a73ad29b63b691d00ac30a3868ea1f6531..63ae51ecd4fcdbe25bf3cb325e90b3cd7b2bb69f 100644 (file)
@@ -658,10 +658,14 @@ typedef struct connection_struct {
        int num_files_open;
        unsigned int num_smb_operations; /* Count of smb operations on this tree. */
 
+       /* Semantics requested by the client or forced by the server config. */
        bool case_sensitive;
        bool case_preserve;
        bool short_case_preserve;
 
+       /* Semantics provided by the underlying filesystem. */
+       int fs_capabilities;
+
        name_compare_entry *hide_list; /* Per-share list of files to return as hidden. */
        name_compare_entry *veto_list; /* Per-share list of files to veto (never show). */
        name_compare_entry *veto_oplock_list; /* Per-share list of files to refuse oplocks on. */