]> git.decadent.org.uk Git - nfs-utils.git/commit
auth_authenticate_newcache: prefer non-V4ROOT export over V4ROOT exports
authorNeilBrown <neilb@suse.de>
Tue, 1 May 2012 19:20:31 +0000 (15:20 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 1 May 2012 19:29:59 +0000 (15:29 -0400)
commit3d7faa0249332e23a2dc2e3e78020ed6bc66036a
tree9378d20b8ec40debdde75af86076bba5f8cac062
parent8ed7383f1b1766f12a3ad3d6259e5e9e37b64727
auth_authenticate_newcache: prefer non-V4ROOT export over V4ROOT exports

Currently auth_authenticate_internal finds an export and if it
is a V4ROOT export, it reports that there is no match.  Unlike
lookup_export() it doesn't keep looking for an acceptable export.

So remove the test from auth_authenticate_internal(), and add it to
auth_authenticate_newcache(), where the search can be allowed to
continue.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mountd/auth.c