Print this page
NEX-14666 Need to provide SMB 2.1 Client
NEX-17187 panic in smbfs_acl_store
NEX-17231 smbfs create xattr files finds wrong file
NEX-17224 smbfs lookup EINVAL should be ENOENT
NEX-17260 SMB1 client fails to list directory after NEX-14666
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
and: (cleanup)

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/smbsrv/winioctl.h
          +++ new/usr/src/uts/common/smb/winioctl.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   *
  25      - * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
       25 + * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
  26   26   */
  27      -#ifndef _SMBSRV_WINIOCTL_H
  28      -#define _SMBSRV_WINIOCTL_H
       27 +#ifndef _SMB_WINIOCTL_H
       28 +#define _SMB_WINIOCTL_H
  29   29  
  30   30  /*
  31   31   * Standard Windows NT IOCTL/FSCTL definitions (derived from the VC++
  32   32   * include file of the same name).
  33   33   */
  34   34  
  35   35  #ifdef __cplusplus
  36   36  extern "C" {
  37   37  #endif
  38   38  
↓ open down ↓ 434 lines elided ↑ open up ↑
 473  473      CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 130, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 474  474  #define FSCTL_OFFLOAD_READ \
 475  475      CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 153, METHOD_BUFFERED, FILE_READ_ACCESS)
 476  476  #define FSCTL_OFFLOAD_WRITE \
 477  477      CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 154, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 478  478  #define FSCTL_GET_INTEGRITY_INFORMATION \
 479  479          CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 159, METHOD_BUFFERED, FILE_ANY_ACCESS)
 480  480  #define FSCTL_SET_INTEGRITY_INFORMATION \
 481  481          CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 160, METHOD_BUFFERED, \
 482  482                  FILE_READ_ACCESS | FILE_WRITE_ACCESS)
      483 +#define FSCTL_QUERY_FILE_REGIONS \
      484 +        CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 161, METHOD_BUFFERED, FILE_ANY_ACCESS)
 483  485  
 484  486  /* FILE_DEVICE_NETWORK_FILE_SYSTEM */
 485  487  /* Read the snapshot info for Volume Shadow Copy Services */
 486  488  #define FSCTL_SRV_ENUMERATE_SNAPSHOTS \
 487  489          CTL_CODE(FILE_DEVICE_NETWORK_FILE_SYSTEM, 0x19, \
 488  490          METHOD_BUFFERED, FILE_READ_ACCESS)
 489  491  /* Retrieve an opaque file reference for server-side data movement */
 490  492  #define FSCTL_SRV_REQUEST_RESUME_KEY \
 491  493          CTL_CODE(FILE_DEVICE_NETWORK_FILE_SYSTEM, 0x1e, \
 492  494          METHOD_BUFFERED, FILE_ANY_ACCESS)
↓ open down ↓ 44 lines elided ↑ open up ↑
 537  539          FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 538  540  #define FSCTL_PIPE_WAIT \
 539  541          CTL_CODE(FILE_DEVICE_NAMED_PIPE, 6, METHOD_BUFFERED, FILE_ANY_ACCESS)
 540  542  
 541  543  #endif /* _FILESYSTEMFSCTL_ */
 542  544  
 543  545  #ifdef __cplusplus
 544  546  }
 545  547  #endif
 546  548  
 547      -#endif /* _SMBSRV_WINIOCTL_H */
      549 +#endif /* _SMB_WINIOCTL_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX