The following commit has been merged in the openafs-stable-1_4_x branch:
commit 2057e796df7ddc787086841d2529ebf660e76fe2
Author: Anders Kaseorg <[email protected]>
Date:   Sat Feb 20 20:28:42 2010 -0500

    Linux: Fix conversion of whole-file locks
    
    An overflow bug in commit 49b7bbdd3b45df694fadbef48f9ed99d9bfe07b9
    caused whole-file locks to be treated as byte-range locks, which fail
    to be propagated to other machines.
    
    Fix this by setting l_len = 0 for locks that range to the end of the
    file.
    
    FIXES 126561
    
    Change-Id: Ie2dc9d04f33559c73b3b86b64152c549b785f8ad
    Signed-off-by: Anders Kaseorg <[email protected]>
    Reviewed-on: http://gerrit.openafs.org/1352
    Reviewed-by: Derrick Brashear <[email protected]>
    Tested-by: Derrick Brashear <[email protected]>
    (cherry picked from commit d3abbebcb0651c5d2c7a3094270fd4f86bea3c1e)
    Reviewed-on: http://gerrit.openafs.org/1372

 src/afs/LINUX/osi_vnodeops.c |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to