]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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>
Tue, 8 Feb 2011 14:55:10 +0000 (06:55 -0800)
commit06b8a3d52b2d6a3c8c1512bb9a21689e0d1c8b34
tree86abdecb712fc7ad3bfef178cf20ce2fb7ebfa96
parent23d6287f7f494383891a497038e8c0e870e824bf
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).

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

Change-Id: Ia108e8c7c624521965bdbddd7a37ebf281eb7967
Reviewed-on: http://gerrit.openafs.org/3869
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