Patch "smb3: fix touch -h of symlink" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    smb3: fix touch -h of symlink

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     smb3-fix-touch-h-of-symlink.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From 475efd9808a3094944a56240b2711349e433fb66 Mon Sep 17 00:00:00 2001
From: Steve French <stfrench@xxxxxxxxxxxxx>
Date: Mon, 16 Oct 2023 12:18:23 -0500
Subject: smb3: fix touch -h of symlink

From: Steve French <stfrench@xxxxxxxxxxxxx>

commit 475efd9808a3094944a56240b2711349e433fb66 upstream.

For example:
      touch -h -t 02011200 testfile
where testfile is a symlink would not change the timestamp, but
      touch -t 02011200 testfile
does work to change the timestamp of the target

Suggested-by: David Howells <dhowells@xxxxxxxxxx>
Reported-by: Micah Veilleux <micah.veilleux@xxxxxxxxxxxxx>
Closes: https://bugzilla.samba.org/show_bug.cgi?id=14476
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Steve French <stfrench@xxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 fs/smb/client/cifsfs.c |    1 +
 1 file changed, 1 insertion(+)

--- a/fs/smb/client/cifsfs.c
+++ b/fs/smb/client/cifsfs.c
@@ -1191,6 +1191,7 @@ const char *cifs_get_link(struct dentry
 
 const struct inode_operations cifs_symlink_inode_ops = {
 	.get_link = cifs_get_link,
+	.setattr = cifs_setattr,
 	.permission = cifs_permission,
 	.listxattr = cifs_listxattr,
 };


Patches currently in stable-queue which might be from stfrench@xxxxxxxxxxxxx are

queue-6.6/smb3-fix-caching-of-ctime-on-setxattr.patch
queue-6.6/cifs-spnego-add-in-host_key_len.patch
queue-6.6/ksmbd-handle-malformed-smb1-message.patch
queue-6.6/cifs-reconnect-helper-should-set-reconnect-for-the-right-channel.patch
queue-6.6/smb3-fix-touch-h-of-symlink.patch
queue-6.6/ksmbd-fix-recursive-locking-in-vfs-helpers.patch
queue-6.6/cifs-do-not-reset-chan_max-if-multichannel-is-not-supported-at-mount.patch
queue-6.6/smb3-fix-creating-fifos-when-mounting-with-sfu-mount-option.patch
queue-6.6/cifs-fix-check-of-rc-in-function-generate_smb3signin.patch
queue-6.6/smb3-allow-dumping-session-and-tcon-id-to-improve-stats-analysis-and-debugging.patch
queue-6.6/smb-client-fix-use-after-free-bug-in-cifs_debug_data_proc_show.patch
queue-6.6/cifs-force-interface-update-before-a-fresh-session-setup.patch
queue-6.6/smb-client-fix-potential-deadlock-when-releasing-mids.patch
queue-6.6/smb-client-fix-use-after-free-in-smb2_query_info_compound.patch
queue-6.6/cifs-do-not-pass-cifs_sb-when-trying-to-add-channels.patch
queue-6.6/smb-client-fix-mount-when-dns_resolver-key-is-not-available.patch
queue-6.6/ksmbd-fix-slab-out-of-bounds-write-in-smb_inherit_dacl.patch
queue-6.6/cifs-fix-encryption-of-cleared-but-unset-rq_iter-data-buffers.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux