diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-11-24 20:03:11 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2022-11-28 13:53:28 +0300 |
commit | 456b59e757b0c558df550764a4fd5ae6877e93f8 (patch) | |
tree | 7333ceccc18e33383768e3b47cc20c2b14216c26 /fs/overlayfs/export.c | |
parent | 672e4268b2863d7e4978dfed29552b31c2f9bd4e (diff) | |
download | linux-456b59e757b0c558df550764a4fd5ae6877e93f8.tar.xz |
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 164f4064ca81 ("keep iocb_flags() result cached in
struct file"); the same change applies there.
Reported-by: Pierre Labastie <pierre.labastie@neuf.fr>
Fixes: 164f4064ca81 ("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: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/export.c')
0 files changed, 0 insertions, 0 deletions