Print this page
5404 smbfs needs mmap support
Portions contributed by: Gordon Ross <gordon.w.ross@gmail.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/smbclnt/smbfs/smbfs.h
          +++ new/usr/src/uts/common/fs/smbclnt/smbfs/smbfs.h
↓ open down ↓ 86 lines elided ↑ open up ↑
  87   87  struct smbnode;
  88   88  struct smb_share;
  89   89  
  90   90  /*
  91   91   * The values for smi_flags (from nfs_clnt.h)
  92   92   */
  93   93  #define SMI_INT         0x04            /* interrupts allowed */
  94   94  #define SMI_NOAC        0x10            /* don't cache attributes */
  95   95  #define SMI_LLOCK       0x80            /* local locking only */
  96   96  #define SMI_ACL         0x2000          /* share supports ACLs */
       97 +#define SMI_DIRECTIO    0x40000         /* do direct I/O */
  97   98  #define SMI_EXTATTR     0x80000         /* share supports ext. attrs */
  98   99  #define SMI_DEAD        0x200000        /* mount has been terminated */
  99  100  
 100  101  /*
 101  102   * Stuff returned by smbfs_smb_qfsattr
 102  103   * See [CIFS] SMB_QUERY_FS_ATTRIBUTE_INFO
 103  104   */
 104  105  typedef struct smb_fs_attr_info {
 105  106          uint32_t        fsa_aflags;     /* Attr. flags [CIFS 4.1.6.6] */
 106  107          uint32_t        fsa_maxname;    /* max. component length */
↓ open down ↓ 78 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX