Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag '5.9-rc4-smb3-fix' of git://git.samba.org/sfrench/cifs-2.6

Pull cifs fix from Steve French:
"A fix for lookup on DFS link when cifsacl or modefromsid is used"

* tag '5.9-rc4-smb3-fix' of git://git.samba.org/sfrench/cifs-2.6:
cifs: fix DFS mount with cifsacl/modefromsid

+4
+4
fs/cifs/inode.c
··· 1017 1017 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID) { 1018 1018 rc = cifs_acl_to_fattr(cifs_sb, &fattr, *inode, true, 1019 1019 full_path, fid); 1020 + if (rc == -EREMOTE) 1021 + rc = 0; 1020 1022 if (rc) { 1021 1023 cifs_dbg(FYI, "%s: Get mode from SID failed. rc=%d\n", 1022 1024 __func__, rc); ··· 1027 1025 } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) { 1028 1026 rc = cifs_acl_to_fattr(cifs_sb, &fattr, *inode, false, 1029 1027 full_path, fid); 1028 + if (rc == -EREMOTE) 1029 + rc = 0; 1030 1030 if (rc) { 1031 1031 cifs_dbg(FYI, "%s: Getting ACL failed with error: %d\n", 1032 1032 __func__, rc);