OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_68-79-g987f3bf

Gerrit Code Review gerrit@openafs.org
Tue, 12 Jan 2010 10:44:48 -0800 (PST)


The following commit has been merged in the master branch:
commit 987f3bf9c7420bb555eccde3b7407080a760b641
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date:   Sun Nov 22 23:31:00 2009 +0000

    Use dget_parent to handle getting inode of parent
    
    We can't safely do dp->d_parent->d_inode to access the parent inode
    of a given dentry. Instead, use dget_parent() to get safely get a
    reference on the parent dcache, and access the inode using that
    reference. Dispose of this reference with dput() as appropriate.
    
    Change-Id: Ic4f2159f68f95744bca08ebc99ecd5f45dc46966
    Reviewed-on: http://gerrit.openafs.org/1075
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/afs/LINUX/osi_vnodeops.c |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

-- 
OpenAFS Master Repository