]> 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, 11 Jan 2017 11:46:40 +0000 (11:46 +0000)
commit2b8362c42f9a7d689084ad956370d2d6c4fa9179
treee84e0a59c9f021600beeb534ee9bc308de9e7914
parent090c2ff292a4d92142c3f33c7517be69d9c16c24
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.

(From OE-Core rev: 332596628697d28ae6e8c2271c9658aaf5e54796)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.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