mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
STABLE14-implement-vpeek-for-listvol-20060124
roll back for listonevolume (only) (cherry picked from commit feccc2a98770fd48eee58d380671539e4bc1fdfb)
This commit is contained in:
parent
b8fd4073eb
commit
d4f7d158b6
@ -1790,7 +1790,7 @@ VolListOneVolume(struct rx_call *acid, afs_int32 partid, afs_int32
|
||||
pntr->volid = volid;
|
||||
goto drop;
|
||||
}
|
||||
tv = VAttachVolumeByName(&error, pname, volname, V_PEEK);
|
||||
tv = VAttachVolumeByName(&error, pname, volname, V_READONLY);
|
||||
if (error) {
|
||||
pntr->status = 0; /*things are messed up */
|
||||
strcpy(pntr->name, volname);
|
||||
@ -2004,7 +2004,7 @@ VolXListOneVolume(struct rx_call *a_rxCidP, afs_int32 a_partID,
|
||||
/*
|
||||
* Attach the volume, give up on the volume if we can't.
|
||||
*/
|
||||
tv = VAttachVolumeByName(&error, pname, volname, V_PEEK);
|
||||
tv = VAttachVolumeByName(&error, pname, volname, V_READONLY);
|
||||
if (error) {
|
||||
xInfoP->status = 0; /*things are messed up */
|
||||
strcpy(xInfoP->name, volname);
|
||||
|
Loading…
x
Reference in New Issue
Block a user