diff options
| author | Namjae Jeon <[email protected]> | 2025-07-25 01:33:28 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-07-25 03:55:29 +0000 |
| commit | 4f8ff9486fd94b9d6a4932f2aefb9f2fc3bd0cf6 (patch) | |
| tree | 10ae1fec46e5d923e5885a49aa1f8f25f903f4aa /net/unix/af_unix.c | |
| parent | ksmbd: fix Preauh_HashValue race condition (diff) | |
| download | kernel-4f8ff9486fd94b9d6a4932f2aefb9f2fc3bd0cf6.tar.gz kernel-4f8ff9486fd94b9d6a4932f2aefb9f2fc3bd0cf6.zip | |
ksmbd: fix corrupted mtime and ctime in smb2_open
If STATX_BASIC_STATS flags are not given as an argument to vfs_getattr,
It can not get ctime and mtime in kstat.
This causes a problem showing mtime and ctime outdated from cifs.ko.
File: /xfstest.test/foo
Size: 4096 Blocks: 8 IO Block: 1048576 regular file
Device: 0,65 Inode: 2033391 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Context: system_u:object_r:cifs_t:s0
Access: 2025-07-23 22:15:30.136051900 +0100
Modify: 1970-01-01 01:00:00.000000000 +0100
Change: 1970-01-01 01:00:00.000000000 +0100
Birth: 2025-07-23 22:15:30.136051900 +0100
Cc: [email protected]
Reported-by: David Howells <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
