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)
        
*** 20,33 ****
   */
  /*
   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
   * Use is subject to license terms.
   *
!  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
   */
! #ifndef _SMBSRV_WINIOCTL_H
! #define _SMBSRV_WINIOCTL_H
  
  /*
   * Standard Windows NT IOCTL/FSCTL definitions (derived from the VC++
   * include file of the same name).
   */
--- 20,33 ----
   */
  /*
   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
   * Use is subject to license terms.
   *
!  * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
   */
! #ifndef _SMB_WINIOCTL_H
! #define _SMB_WINIOCTL_H
  
  /*
   * Standard Windows NT IOCTL/FSCTL definitions (derived from the VC++
   * include file of the same name).
   */
*** 478,487 ****
--- 478,489 ----
  #define FSCTL_GET_INTEGRITY_INFORMATION \
          CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 159, METHOD_BUFFERED, FILE_ANY_ACCESS)
  #define FSCTL_SET_INTEGRITY_INFORMATION \
          CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 160, METHOD_BUFFERED, \
                  FILE_READ_ACCESS | FILE_WRITE_ACCESS)
+ #define FSCTL_QUERY_FILE_REGIONS \
+         CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 161, METHOD_BUFFERED, FILE_ANY_ACCESS)
  
  /* FILE_DEVICE_NETWORK_FILE_SYSTEM */
  /* Read the snapshot info for Volume Shadow Copy Services */
  #define FSCTL_SRV_ENUMERATE_SNAPSHOTS \
          CTL_CODE(FILE_DEVICE_NETWORK_FILE_SYSTEM, 0x19, \
*** 542,547 ****
  
  #ifdef __cplusplus
  }
  #endif
  
! #endif /* _SMBSRV_WINIOCTL_H */
--- 544,549 ----
  
  #ifdef __cplusplus
  }
  #endif
  
! #endif /* _SMB_WINIOCTL_H */