]> 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>
Sun, 15 Sep 2019 16:51:59 +0000 (17:51 +0100)
commit727e6ce1f904abf1a1059fde759c3aaea37de199
treefcd83dd2f5aa4853694584164c75de0404a03fbe
parentc5a382429d18642d35d40a4df6a58b971c724603
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.

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/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