]> code.ossystems Code Review - openembedded-core.git/commit
nfs-utils: fix protocol minor version fall-back
authorYi Zhao <yi.zhao@windriver.com>
Wed, 16 Nov 2016 10:07:43 +0000 (18:07 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Nov 2016 11:02:30 +0000 (11:02 +0000)
commit332596628697d28ae6e8c2271c9658aaf5e54796
treec826731d07947eb14ce2990f58e8c7341e85cd78
parent07cfa9e2bceb07f3baf40681f8c57f4d3da0aee5
nfs-utils: fix protocol minor version fall-back

Mount nfs directory would fail if no specific nfsvers:
mount -t nfs IP:/foo/bar/ /mnt/
mount.nfs: an incorrect mount option was specified

mount.nfs currently expects mount(2) to fail with EPROTONOSUPPORT if
the kernel doesn't understand the requested NFS version.
Unfortunately if the requested minor is not known to the kernel
it returns -EINVAL.

Backport patch from nfs-utils-1.3.4 to fix this issue.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-connectivity/nfs-utils/nfs-utils/fix-protocol-minor-version-fall-back.patch [new file with mode: 0644]
meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb