Re: [PATCH] smb: client: fix copy-paste error in WSL EA length accounting for $LXDEV
Paulo Alcantara <[email protected]>
| Newsgroups | org.kernel.vger.linux-cifs,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
Frank Sorenson <[email protected]> writes: > The LXDEV block in cifs_query_path_info() uses SMB2_WSL_XATTR_MODE_SIZE > (4) instead of SMB2_WSL_XATTR_DEV_SIZE (8), undercounting eas_len by 4 > bytes per $LXDEV EA. > > eas_len is used only as a zero/non-zero presence flag so there is no > current functional impact, but the value is incorrect and misleading. > ... Applied.