cifs: revalidate mapping when we open files for SMB1 POSIX
Subsystems (2)
PATCH 1/1 cifs: revalidate mapping when we open files for SMB1 POSIX
From: root <[email protected]>
RHBZ: 1933527
We have seen read cashe surviving across close to open under SMB1 POSIX.
Signed-off-by root <[email protected]>
--- fs/cifs/file.c | 1 + 1 file changed, 1 insertion(+)
fs/cifs/file.c +1 -0
@@ -165,6 +165,7 @@ int cifs_posix_open(char *full_path, struct inode **pinode, goto posix_open_ret; } }else { +cifs_revalidate_mapping (*pinode);cifs_fattr_to_inode (*pinode, &fattr); }
Signature · 1 line
2.29.2