]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Linux: 2.6.37 - replace get_sb with mount
authorMarc Dionne <marc.c.dionne@gmail.com>
Wed, 3 Nov 2010 00:54:20 +0000 (20:54 -0400)
committerDerrick Brashear <shadow@dementia.org>
Thu, 25 Nov 2010 21:31:01 +0000 (13:31 -0800)
commit4209e98c2d61256bbfe07f3d005b83746ec4a5d0
tree3ca925783311f6b52d8bda36a3b7c6ecd3e70ed8
parentfee17990194cde86f8ec190086425df49dc30d78
Linux: 2.6.37 - replace get_sb with mount

With kernel 2.6.37 the new entry point for mounting a filesystem
is the mount() operation instead of get_sb().

Replace afs_get_sb with afs_mount if the new operation is
available, and use mount_nodev instead of get_sb_nodev.

Note that this is not strictly required for 2.6.37 since the old
interfaces are still around, but we might as well switch now.

Reviewed-on: http://gerrit.openafs.org/3245
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 2ea841feac2de8ade987c18cb7043aacfebe0d83)
Change-Id: I1f17068a1a06654568f30b75c5c65da0100995cd
Reviewed-on: http://gerrit.openafs.org/3251
acinclude.m4
src/afs/LINUX/osi_vfsops.c