* amd/srvr_nfs.c (find_nfs_srvr): check to see if the IP address
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 10 Jul 2005 21:41:48 +0000 (21:41 +0000)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 10 Jul 2005 21:41:48 +0000 (21:41 +0000)
commitb972ced002a849d545e9a1d3d3f3e355626d6875
tree12ba7c13e8f130b88ed7fe8df571502cd69c8278
parent93308fae6d75563b67b893cc31c44e310e89f455
* amd/srvr_nfs.c (find_nfs_srvr): check to see if the IP address
of a named but down fserver changed (i.e., the previous IP address
is no longer responding).  If so, then reset the fserver to the
new IP address, and set the fserver's flags such that the function
will fall through to doing the usual NFS version/proto checks and
pinging.  (This should fix one case of bug #308.)

* conf/umount/umount_linux.c (umount_fs): warn if plain umount()
failed, before we try to ignore any errors or try optional
umount2(), possibly with forced/lazy unmount.
(umount_fs): dlog when unmount succeeded.
ChangeLog
amd/srvr_nfs.c
conf/umount/umount_linux.c