linux: 2.6.38: New d_op handling
authorMarc Dionne <marc.c.dionne@gmail.com>
Tue, 25 Jan 2011 22:17:21 +0000 (17:17 -0500)
committerDerrick Brashear <shadow@dementia.org>
Thu, 27 Jan 2011 16:01:01 +0000 (08:01 -0800)
commit08bb83d95027bb3ac68834d12b72bdc647fa24a9
tree6599ac3a9039c4907e4af85f2191396deb80ad3b
parent54fb96d2b6517ae491fd7a7c03246850d29156d5
linux: 2.6.38: New d_op handling

In 2.6.38, the super block structure has a new field to hold the
default dentry ops.  The vfs will automatically set it for new
dentries in most cases.

Set s_d_op to our set of operations, and omit setting the dentry
ops where the vfs will already do it (and where new locking rules
prohibit it).

Change-Id: I9d738bdd528577d0a7ccd307246b5e935379c84d
Reviewed-on: http://gerrit.openafs.org/3758
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
acinclude.m4
src/afs/LINUX/osi_vfsops.c
src/afs/LINUX/osi_vnodeops.c