Skip to content

mountd.nfs: Better error diagnostics for the mount command (take 2)

Steve Dickson linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mount: silently fails when bad option values are givenutils/mount/network.c utils/mount/nfsumount.c+19 -56 replies
2/2mount.nfs: silently fails when the network protocol is not foundutils/mount/network.c utils/mount/stropts.c+27 -82 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] mountd.nfs: Better error diagnostics for the mount command (take 2)

[I incorporated the comments from the code review of the previous patches]

The following two patches add better error diagnostics when invalid protocol version are given and when the network protocol can not be determined.

Steve Dickson (2):
mount: silently fails when bad option values are given mount.nfs: silently fails when the network protocol is not found

 utils/mount/network.c   |   39 ++++++++++++++++++++++++++++++++++-----
 utils/mount/nfsumount.c |    4 +---
 utils/mount/stropts.c   |   16 +++++++++++-----
 3 files changed, 46 insertions(+), 13 deletions(-)