|
@@ -1532,7 +1532,7 @@ SMB2_query_info(const unsigned int xid, struct cifs_tcon *tcon,
|
|
|
{
|
|
|
return query_info(xid, tcon, persistent_fid, volatile_fid,
|
|
|
FILE_ALL_INFORMATION,
|
|
|
- sizeof(struct smb2_file_all_info) + MAX_NAME * 2,
|
|
|
+ sizeof(struct smb2_file_all_info) + PATH_MAX * 2,
|
|
|
sizeof(struct smb2_file_all_info), data);
|
|
|
}
|
|
|
|