mirror of
https://github.com/torvalds/linux.git
synced 2026-09-11 20:13:02 +02:00
ksmbd: fix sparc build with atomic work state
Use an unsigned int for the work state so xchg() uses a supported
4-byte operation on sparc.
Fixes: d12168084c ("ksmbd: safely drain sessions during logoff")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202609021157.8f7Wx34I-lkp@intel.com/
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
This commit is contained in:
parent
89a312991d
commit
636abbe7a6
|
|
@ -82,7 +82,7 @@ struct ksmbd_work {
|
|||
/* Contiguous SMB2 compression transform owned by this work item. */
|
||||
void *compress_buf;
|
||||
|
||||
unsigned char state;
|
||||
unsigned int state;
|
||||
/* No response for cancelled request */
|
||||
bool send_no_response:1;
|
||||
/* Request is encrypted */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user