]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Linux: 2.6.38: dentry->d_count is not an atomic
authorMarc Dionne <marc.c.dionne@gmail.com>
Thu, 3 Feb 2011 02:55:27 +0000 (21:55 -0500)
committerJeffrey Altman <jaltman@openafs.org>
Sun, 13 Feb 2011 04:04:01 +0000 (20:04 -0800)
commit9a91e1a9b190f54e694a9c98f8b2856a310cd825
tree7e441f1a6ef53e847460bba8dea398e41f38daec
parent66a5faefc78f6a9b8d34a84ea580a2a2889217e4
Linux: 2.6.38: dentry->d_count is not an atomic

d_count is now an int protected by the dentry's d_lock.
Take the lock when we use it, instead of using an atomic_*
function.

Reviewed-on: http://gerrit.openafs.org/3883
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry-picked from commit 281f5bf5fbb0a546edcce62ef4e097ae9bbdbf73)

Change-Id: I45caa6aef451a7f93bfa43dfb1ebe9b0b856fbd0
Reviewed-on: http://gerrit.openafs.org/3935
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
acinclude.m4
src/afs/LINUX/osi_vnodeops.c
src/cf/linux-test4.m4