mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
Windows: Add cm_GetVolServerList
cm_GetVolServerList() is a wrapper for cm_GetVolServers() that returns CM_ERROR_NOSUCHVOLUME if the server list cannot be obtained for the requested volume. Change-Id: I1ab21b3f6ca71507cc382738cb50f87e92ee2ce2 Reviewed-on: http://gerrit.openafs.org/7722 Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil> Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com> Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
parent
ef5686b1a1
commit
2575d87824
@ -210,6 +210,13 @@ void cm_InitReq(cm_req_t *reqp)
|
||||
reqp->startTime = GetTickCount();
|
||||
}
|
||||
|
||||
long cm_GetVolServerList(cm_volume_t *volp, afs_uint32 volid, struct cm_user *userp,
|
||||
struct cm_req *reqp, afs_uint32 *replicated, cm_serverRef_t ***serversppp)
|
||||
{
|
||||
*serversppp = cm_GetVolServers(volp, volid, userp, reqp, replicated);
|
||||
return (*serversppp ? 0 : CM_ERROR_NOSUCHVOLUME);
|
||||
}
|
||||
|
||||
long cm_GetServerList(struct cm_fid *fidp, struct cm_user *userp,
|
||||
struct cm_req *reqp, afs_uint32 *replicated, cm_serverRef_t ***serversppp)
|
||||
{
|
||||
|
@ -170,4 +170,9 @@ extern long cm_GetServerList(struct cm_fid *fidp, struct cm_user *userp,
|
||||
struct cm_req *reqp, afs_uint32 *replicated,
|
||||
cm_serverRef_t ***serversppp);
|
||||
|
||||
extern long cm_GetVolServerList(struct cm_volume *volp, afs_uint32 volid,
|
||||
struct cm_user *userp,
|
||||
struct cm_req *reqp, afs_uint32 *replicated,
|
||||
cm_serverRef_t ***serversppp);
|
||||
|
||||
#endif /* OPENAFS_WINNT_AFSD_CM_CONN_H */
|
||||
|
Loading…
Reference in New Issue
Block a user