From: Ralph Boehme Date: Mon, 26 Oct 2020 16:57:00 +0000 (+0100) Subject: smbd: use SMB2_INFO_SPECIAL in call_trans2qfilepathinfo() X-Git-Tag: samba-4.14.0rc1~585 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed88f59189cfc3cd4f0492b0812fffc04cfa6a7c;p=thirdparty%2Fsamba.git smbd: use SMB2_INFO_SPECIAL in call_trans2qfilepathinfo() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index bf06175227b..ae790e10705 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -6387,7 +6387,7 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd break; } - if ((info_level & 0xFF00) == 0xFF00) { + if ((info_level & SMB2_INFO_SPECIAL) == SMB2_INFO_SPECIAL) { /* * We use levels that start with 0xFF00 * internally to represent SMB2 specific levels