linux: avoid leaking parent when revalidating and it is /afs
authorChaskiel Grundman <cg2v@andrew.cmu.edu>
Mon, 6 Dec 2010 17:43:12 +0000 (12:43 -0500)
committerDerrick Brashear <shadow@dementia.org>
Mon, 6 Dec 2010 18:45:39 +0000 (10:45 -0800)
commit58837dbc56251cf640ad46273c534b71f4fc40e3
tree4e0e823c15c40f686011548536b6439317e251cc
parenta433f750ad7f0a3c0adbf4c5d6221b7517c0eedb
linux: avoid leaking parent when revalidating and it is /afs

we happily go to the "good dentry" path and exit, leaking the
result of dget_parent, if parent is globalVp. Let's not

Change-Id: I3848a1aa2611d17ba08e04b3f33f22623645d233
Reviewed-on: http://gerrit.openafs.org/3448
Reviewed-by: Chaskiel Grundman <cg2v@andrew.cmu.edu>
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_vnodeops.c