archive mirror
 help / color / mirror / Atom feed
From: Steve French <>
To: CIFS <>
Cc: Paulo Alcantara <>
Subject: mount error reporting bug with DFS and new mount API
Date: Sat, 10 Jul 2021 12:38:59 -0500	[thread overview]
Message-ID: <> (raw)

Found a problem with how we report errors with the new mount API for DFS.
When you mount to a target where some of the DFS referrals are not in
DNS (in this case I had forgotten to update /etc/hosts with the IP
address for one of the targets) you get the wrong (and very confusing)
error on mount:

     mount error(4): Interrupted system call

dmesg shows:
[351218.107319] CIFS: Attempting to mount \\\dfs-test
[351218.184027] CIFS: VFS: cifs_mount failed w/return code = -4

It should be something like "path not found" or "Unable to find
suitable address" etc



                 reply	other threads:[~2021-07-10 17:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \ \
    --subject='Re: mount error reporting bug with DFS and new mount API' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).