Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5702591f authored by Aurelien Aptel's avatar Aurelien Aptel Committed by Steve French
Browse files

CIFS: don't log STATUS_NOT_FOUND errors for DFS



cifs.ko makes DFS queries regardless of the type of the server and
non-DFS servers are common. This often results in superfluous logging of
non-critical errors.

Signed-off-by: default avatarAurelien Aptel <aaptel@suse.com>
Signed-off-by: default avatarSteve French <smfrench@gmail.com>
Reviewed-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
parent a821df3f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1406,6 +1406,7 @@ smb2_get_dfs_refer(const unsigned int xid, struct cifs_ses *ses,
	} while (rc == -EAGAIN);

	if (rc) {
		if (rc != -ENOENT)
			cifs_dbg(VFS, "ioctl error in smb2_get_dfs_refer rc=%d\n", rc);
		goto out;
	}