Re: [PATCH] smb: client: fix copy-paste error in WSL EA length accounting for $LXDEV
Namjae Jeon <[email protected]>
| Newsgroups | org.kernel.vger.linux-cifs,org.kernel.vger.stable |
|---|---|
| Message-ID | <CAKYAXd-a3phtwshP_x-q7ppK7tkQP2ohGvGicDXyLp25xo6sTQ@mail.gmail.com> |
On Fri, Aug 21, 2026 at 6:22 AM Frank Sorenson <[email protected]> wrote: > > 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. > > Fixes: 97db41604555 ("smb: client: parse uid, gid, mode and dev from WSL reparse points") > Cc: [email protected] > Cc: Paulo Alcantara <[email protected]> > Signed-off-by: Frank Sorenson <[email protected]> Acked-by: Namjae Jeon <[email protected]> Thanks!