diff mbox series

[Bug,14476] Cannot set timestamp of Minshall-French symlinks from a CIFS mount

Message ID bug-14476-10630-hGnnyw1b0c@https.bugzilla.samba.org/ (mailing list archive)
State New, archived
Headers show
Series [Bug,14476] Cannot set timestamp of Minshall-French symlinks from a CIFS mount | expand

Commit Message

samba-bugs@samba.org Oct. 14, 2023, 4:17 p.m. UTC
https://bugzilla.samba.org/show_bug.cgi?id=14476

--- Comment #3 from Steve French <sfrench@samba.org> ---
This change fixes it:

 };
diff mbox series

Patch

diff --git a/fs/smb/client/cifsfs.c b/fs/smb/client/cifsfs.c
index 22869cda1356..ea3a7a668b45 100644
--- a/fs/smb/client/cifsfs.c
+++ b/fs/smb/client/cifsfs.c
@@ -1191,6 +1191,7 @@  const char *cifs_get_link(struct dentry *dentry, struct
inode *inode,

 const struct inode_operations cifs_symlink_inode_ops = {
        .get_link = cifs_get_link,
+       .setattr = cifs_setattr,
        .permission = cifs_permission,
        .listxattr = cifs_listxattr,