]> git.decadent.org.uk Git - nfs-utils.git/commit
In mountd, if get_exportlist() (utils/mountd/mountd.c) returns NULL it
authorHarshula Jayasuriya <harshula@sgi.com>
Tue, 12 Feb 2008 21:13:25 +0000 (16:13 -0500)
committerSteve Dickson <steved@dickson.boston.devel.redhat.com>
Tue, 12 Feb 2008 21:13:25 +0000 (16:13 -0500)
commit9dd9b68c4c44f0d9102eb85ee2fa36a8b7f638e3
tree842f531222fa174385f7c691509f6a5f681dedb2
parent7a817c45eaeb6aa93fdb5ca4d81c363b4e4218f0
In mountd, if get_exportlist() (utils/mountd/mountd.c) returns NULL it
should not be considered a failure. It just means that there are no
exports on the system.

The practical problem with the current code is that a showmount -e
results in a syslog message from mountd that looks like:

rpc.mountd: export request from 10.250.100.2 failed.

Reviewed-by: Greg Banks <gnb@sgi.com>
Signed-off-by: Harshula Jayasuriya <harshula@sgi.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mountd/mountd.c