Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 419234d5 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

fuse: only reuse auxiliary request in fuse_writepage_in_flight()



Don't reuse the queued request, even if it only contains a single page.
This is needed because previous locking changes (spliting out
fiq->waitq.lock from fc->lock) broke the assumption that request will
remain in FR_PENDING at least until the new page contents are copied.

This fix removes a slight optimization for a rare corner case, so we really
shoudln't care.

Reported-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Fixes: fd22d62e ("fuse: no fc->lock for iqueue parts")
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 7f305ca1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment