]> git.baikalelectronics.ru Git - kernel.git/commitdiff
cifs: enable change notification for SMB2.1 dialect
authorSteve French <stfrench@microsoft.com>
Thu, 13 Feb 2020 04:37:08 +0000 (22:37 -0600)
committerSteve French <stfrench@microsoft.com>
Fri, 14 Feb 2020 17:10:06 +0000 (11:10 -0600)
It was originally enabled only for SMB3 or later dialects, but
had requests to add it to SMB2.1 mounts as well given the
large number of systems at that dialect level.

Signed-off-by: Steve French <stfrench@microsoft.com>
Reported-by: L Walsh <cifs@tlinx.org>
Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/smb2ops.c

index baa825f4cec03899d647fd23528fcca8a3b72020..aef33630e31512d33385fb404216ae820ab3aa61 100644 (file)
@@ -4795,6 +4795,7 @@ struct smb_version_operations smb21_operations = {
        .wp_retry_size = smb2_wp_retry_size,
        .dir_needs_close = smb2_dir_needs_close,
        .enum_snapshots = smb3_enum_snapshots,
+       .notify = smb3_notify,
        .get_dfs_refer = smb2_get_dfs_refer,
        .select_sectype = smb2_select_sectype,
 #ifdef CONFIG_CIFS_XATTR