Skip to content
Snippets Groups Projects
Commit 456b59e7 authored by Al Viro's avatar Al Viro Committed by Miklos Szeredi
Browse files

ovl: update ->f_iocb_flags when ovl_change_flags() modifies ->f_flags


ovl_change_flags() is an open-coded variant of fs/fcntl.c:setfl() and it
got missed by commit 164f4064 ("keep iocb_flags() result cached in
struct file"); the same change applies there.

Reported-by: default avatarPierre Labastie <pierre.labastie@neuf.fr>
Fixes: 164f4064 ("keep iocb_flags() result cached in struct file")
Cc: <stable@vger.kernel.org> # v6.0
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216738


Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 672e4268
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment