Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
#define SMB2_FILE_FULL_EA_INFORMATION (FSCC_FILE_FULL_EA_INFORMATION + SMB2_INFO_SPECIAL)
#define SMB2_FILE_ALL_INFORMATION (FSCC_FILE_ALL_INFORMATION + SMB2_INFO_SPECIAL)
#define SMB2_FILE_POSIX_INFORMATION_INTERNAL (SMB2_FILE_POSIX_INFORMATION + SMB2_INFO_SPECIAL)
-#define SMB2_FS_POSIX_INFORMATION_INTERNAL 1100
+#define SMB2_FS_POSIX_INFORMATION_INTERNAL (SMB2_FS_POSIX_INFORMATION + NT_PASSTHROUGH_OFFSET)
/* NT passthrough levels for qfsinfo. */
default:
/* the levels directly map to the passthru levels */
- file_info_level = in_file_info_class + 1000;
+ file_info_level = in_file_info_class + NT_PASSTHROUGH_OFFSET;
break;
}
size_t fixed_portion;
/* the levels directly map to the passthru levels */
- file_info_level = in_file_info_class + 1000;
+ file_info_level = in_file_info_class + NT_PASSTHROUGH_OFFSET;
status = smbd_do_qfsinfo(smb2req->xconn, conn, state,
file_info_level,