]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
nfs-utils: fix nfs mount error on 32bit nfs server
authorYi Zhao <yi.zhao@windriver.com>
Thu, 12 Sep 2019 03:28:24 +0000 (11:28 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Sep 2019 22:02:44 +0000 (23:02 +0100)
commit100bf17470211abd499a3b8700b2d0c221b2d3ea
tree0cbb29a7de20f74f001191ce1ee3d997fed0768b
parent631f3dc9be6c333c50c62350844c01c5538a1693
nfs-utils: fix nfs mount error on 32bit nfs server

There is a client side error "Stale file handle" when mounting from a
nfs server running on 32bit arch.

Steps to reproduce:
1. $ MACHINE=qemux86 bitbake core-image-sato
2. $ runqemu qemux86 kvm nographic qemuparams="-m 1024"
3. $ echo "/nfs_root *(insecure,rw,async,no_root_squash,no_subtree_check)" \
     >> /etc/exports
   $ /etc/init.d/nfsserver restart

  root@qemux86:~# mount -t nfs 127.0.0.1:/nfs_root /mnt
  mount: mounting 127.0.0.1:/nfs_root on /mnt failed: Stale file handle

Backport a patch to fix this issue.

(From OE-Core rev: 727e6ce1f904abf1a1059fde759c3aaea37de199)

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>
meta/recipes-connectivity/nfs-utils/nfs-utils/0001-Fix-include-order-between-config.h-and-stat.h.patch [new file with mode: 0644]
meta/recipes-connectivity/nfs-utils/nfs-utils_2.4.1.bb