The msgs kept in the llist are in reverse order that must be reversed
before traversing. Misordered msgs could hit performance severely.
Fixes: VSTOR-103577
https://virtuozzo.atlassian.net/browse/VSTOR-103577
Signed-off-by: Liu Kui
---
fs/fuse/kio/pcs/pcs_krpc.c | 1 +
1 file changed, 1 inserti
This patch is purely for code beautification patch that won't
affect any functionality.
Signed-off-by: Liu Kui
---
fs/fuse/kio/pcs/pcs_krpc.c | 66 --
1 file changed, 35 insertions(+), 31 deletions(-)
diff --git a/fs/fuse/kio/pcs/pcs_krpc.c b/fs/fuse/kio/pcs/
We need to use kthread_use_mm() to make a kthread operate on an
address space. Simply assigning a value to the mm and active_mm
field of a kthread's task_struct would race against the scheduler
resulting in crash.
Fixes: #VSTOR-103399
https://virtuozzo.atlassian.net/browse/VSTOR-103399
Signed-off