OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-77-gf6a272c

Gerrit Code Review
Tue, 21 Dec 2010 21:06:36 -0800 (PST)

The following commit has been merged in the openafs-stable-1_4_x branch:
commit f6a272c69683cbb9fcd7e23ff693dd6c57c0e1ac
Author: Andrew Deason <>
Date:   Tue Mar 9 18:07:18 2010 -0600

    vos: Mark longjmp-used variables as 'volatile'
    vsprocs tries to do error recovery by calling longjmp from a signal
    handler. Although this is quite error-prone since we call a ton of
    non-async-signal-safe functions, make it a bit more likely to work by
    marking variables that are used after the longjmp as volatile. This
    reduces how often (depending on the platform) these values will be
    completely worthless after a longjmp since they were cached in a
    register or similar.
    FIXES 125535
    Tested-by: Andrew Deason <>
    Reviewed-by: Derrick Brashear <>
    Tested-by: Derrick Brashear <>
    (cherry picked from commit fe3ff8e91237f35fed33d6d417830e0fe44c6479)
    Change-Id: I6d63f516a0864c643f5fea2a711a8adea9fdcc6d
    Tested-by: BuildBot <>
    Reviewed-by: Derrick Brashear <>
    Tested-by: Derrick Brashear <>

 src/volser/vsprocs.c |  186 +++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 138 insertions(+), 48 deletions(-)

OpenAFS Master Repository