linux: Fix leaked dentry reference in the revalidate op
authorMarc Dionne <marc.dionne@your-file-system.com>
Wed, 24 Apr 2013 13:11:09 +0000 (09:11 -0400)
committerDerrick Brashear <shadow@your-file-system.com>
Mon, 20 May 2013 18:29:43 +0000 (11:29 -0700)
commit50083ea0df9610d0c652931af58e013e7f494c19
tree4c8e8efbf2d1b0a609ecef8f53b5884469bdf9d6
parentcc07c8b99ae56dc777a07b4b818a2fa6e8a7afa3
linux: Fix leaked dentry reference in the revalidate op

In one error case, we exit the function without release the
reference on the parent dentry.  This dangling reference can cause
an oops when the client is shut down.

Change-Id: I1632b581f6e7a557bb54a999dc1837c31b8381bf
Reviewed-on: http://gerrit.openafs.org/9802
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/afs/LINUX/osi_vnodeops.c