diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2020-03-13 15:42:20 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-03-13 15:53:06 +0100 |
commit | c853680453ac235e9010987a8bdaaba0e116d3c8 (patch) | |
tree | e43522287e100b759eb8f8b5abb4ff056c4a448b /init | |
parent | 53afcd310e867d25e394718558783c476301205c (diff) |
ovl: fix lockdep warning for async write
Lockdep reports "WARNING: lock held when returning to user space!" due to
async write holding freeze lock over the write. Apparently aio.c already
deals with this by lying to lockdep about the state of the lock.
Do the same here. No need to check for S_IFREG() here since these file ops
are regular-only.
Reported-by: syzbot+9331a354f4f624a52a55@syzkaller.appspotmail.com
Fixes: 2406a307ac7d ("ovl: implement async IO routines")
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions