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

ovl: fix copy-up in tmpfile



Move ovl_copy_up() call outside of ovl_want_write()/ovl_drop_write()
region, since copy up may also call ovl_want_write() resulting in recursive
locking on sb->s_writers.

Reported-and-tested-by: default avatar <syzbot+85e58cdf5b3136471d4b@syzkaller.appspotmail.com>
Closes: https://lore.kernel.org/all/000000000000f6865106191c3e58@google.com/


Fixes: 9a87907d ("ovl: implement tmpfile")
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 1613e604
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