29.01.2024 08:43, Harshit Mogalapalli wrote:
This patch is only for v5.10.y stable kernel. I have tested the patched kernel, after mounting it doesn't become unavailable.
Context: [1] https://lore.kernel.org/all/CAH2r5mv2ipr4KJfMDXwHgq9L+kGdnRd1C2svcM=PCoDjA7u...
Note to Greg: This is alternative way to fix by not taking commit eb3e28c1e89b ("smb3: Replace smb2pdu 1-element arrays with flex-arrays"). before applying this patch a patch in the queue needs to be removed: https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree...
Maybe I don't understand something, but isn't there a goal when fixing bugs to keep the code of stable branches with upstream code as much as possible? Otherwise, the following fixes will not be compatible..