Cannot set timestamp of Minshall-French symlinks from a CIFS mount
Subsystems (2)
https://bugzilla.samba.org/show_bug.cgi?id=14476
Björn Jacke <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
QA Contact|[email protected] |[email protected] Assignee|[email protected] |[email protected] Component|Other |kernel fs Version|4.12.2 |3.x Product|Samba 4.1 and newer |CifsVFS
--- Comment #1 from Björn Jacke <[email protected]> ---
moving this to the cifsvfs product because the Minshall-French symlink are a client-only thing.
Signature · 2 lines
You are receiving this mail because: You are the QA Contact for the bug.
https://bugzilla.samba.org/show_bug.cgi?id=14476
Björn Jacke <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|3.x |5.x
Signature · 2 lines
You are receiving this mail because: You are the QA Contact for the bug.
https://bugzilla.samba.org/show_bug.cgi?id=14476
--- Comment #2 from Steve French <[email protected]> --- David Howells spotted the problem - cifs.ko is missing setattr in the cifs_symlink_inode_operations
Signature · 2 lines
You are receiving this mail because: You are the QA Contact for the bug.
https://bugzilla.samba.org/show_bug.cgi?id=14476
Steve French <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Signature · 2 lines
You are receiving this mail because: You are the QA Contact for the bug.
https://bugzilla.samba.org/show_bug.cgi?id=14476
--- Comment #3 from Steve French <[email protected]> --- This change fixes it:
fs/smb/client/cifsfs.c +0 -0
@@ -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,
};
Signature · 2 lines
You are receiving this mail because: You are the QA Contact for the bug.