[SRU][j/f:azure][PATCH 0/1] Missing fix in linux kernel cifs/smb client module
John Cabaj
john.cabaj at canonical.com
Fri Sep 27 19:30:49 UTC 2024
BugLink: https://bugs.launchpad.net/bugs/2071744
SRU Justification
[Impact]
* Adding missing patch to avoid file size updates from readdir during read/write lease.
[Fix]
* Backport from linux upstream, e4b61f3b1c67: "cifs: prevent updating file size from server if we have a read/write lease"
[Test Plan]
* Compile tested
* Boot tested
* Tested by Microsoft
[Regression potential]
* Changes isolated, minimal regression risk. Changes already backported to 6.8 kernel.
* Changes add two function, is_size_safe_to_change() and cifs_fattr_to_inode()
[Other info]
* SF #00388888
Bharath SM (1):
cifs: prevent updating file size from server if we have a read/write
lease
fs/cifs/cifsproto.h | 6 ++++--
fs/cifs/file.c | 8 +++++---
fs/cifs/inode.c | 17 +++++++++--------
fs/cifs/readdir.c | 2 +-
4 files changed, 19 insertions(+), 14 deletions(-)
--
2.43.0
More information about the kernel-team
mailing list