OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1786-g87f969f
Gerrit Code Review
gerrit@openafs.org
Mon, 24 Oct 2011 13:13:58 -0700 (PDT)
The following commit has been merged in the master branch:
commit 87f969f82d12c8200ede3fd30a151e09ab0bf6ad
Author: Andrew Deason <adeason@sinenomine.net>
Date: Tue Oct 11 10:51:14 2011 -0500
volser: Remove ExtractVolId
volser was using its own function to extract a volume ID from a
filename string, and was using atol to do so. The ato* family of
functions can have problems with larger volume IDs, not to mention a
lack of error checking, so don't use it. Since we already have the
function VolumeNumber in the vol package to do the very same thing,
just use that instead.
Change-Id: I40953d3533454503583685eb3adeb0079137c8a1
Reviewed-on: http://gerrit.openafs.org/5594
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/volser/volprocs.c | 18 +-----------------
1 files changed, 1 insertions(+), 17 deletions(-)
--
OpenAFS Master Repository