Skip to content

Commit

Permalink
ksmbd: fix2
Browse files Browse the repository at this point in the history
Signed-off-by: Namjae Jeon <[email protected]>
  • Loading branch information
namjaejeon committed Dec 6, 2024
1 parent d7dfba8 commit 19fed40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smb2pdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -6539,7 +6539,7 @@ static int set_file_basic_info(struct ksmbd_file *fp,
return -EACCES;

inode_lock(inode);
if (attrs.ia_valid & ATTR_ATIME) {
if (attrs.ia_valid & ATTR_MTIME) {
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 6, 0)
inode_set_ctime_to_ts(inode, attrs.ia_ctime);
#else
Expand Down

0 comments on commit 19fed40

Please sign in to comment.