]> git.decadent.org.uk Git - nfs-utils.git/commit
rpc.idmapd: Ignore open failures in dirscancb()
authorDavid Jeffery <djeffery@redhat.com>
Wed, 16 Jan 2013 20:21:55 +0000 (15:21 -0500)
committerSteve Dickson <steved@redhat.com>
Wed, 16 Jan 2013 20:33:17 +0000 (15:33 -0500)
commit5ac9bcfd820f09af4d3f87f1f7346d896f70bc9a
tree81d2ca7cddc046dbb7f1577e7705bf9a82072cc9
parent96892b29a50af1055bfc3ca74930e9782ead6c71
rpc.idmapd: Ignore open failures in dirscancb()

From: David Jeffery <djeffery@redhat.com>

The daemon "rpc.idmapd" scans the /var/lib/nfs/rpc_pipefs/nfs/ directory
periodically looking for NFS client mounts to communicate to. The daemon
tried to open communication with a client mount but it disappeared in
between looking for directory entries and opening them. NFS mount was
umounted just before rpc.idmapd tried to communicate with it. This
behavior is usually seen when autofs is configured on the system.

Signed-off-by: Steve Dickson <steved@redhat.com>
utils/idmapd/idmapd.c