mount point for the path we requested, we need to return ESTALE so
that the kernel will then perform an NFSv3 lookup and the mount point
will be re-mounted.
If there is no map entry to mount, the NFSv3 lookup method will
return the failure.
(Ian Kent)
if (!mp) {
post_op_obj = &result.res_u.fail.obj_attributes;
post_op_obj->attributes_follow = 0;
- result.status = nfs_error(ENOENT);
+ result.status = nfs_error(ESTALE);
if (amuDebug(D_TRACE))
- plog(XLOG_DEBUG, "access_3: ENOENT");
+ plog(XLOG_DEBUG, "access_3: ESTALE");
} else {
nfsfattr *fattr = &mp->am_fattr;
am_fattr3 *fattr3;