]> git.michaelhowe.org Git - packages/o/openafs.git/commit
afs: Leave cellnum alone for explicit mtpt cell
authorAndrew Deason <adeason@sinenomine.net>
Tue, 15 Nov 2011 19:18:48 +0000 (13:18 -0600)
committerDerrick Brashear <shadow@dementix.org>
Mon, 28 Nov 2011 02:40:30 +0000 (18:40 -0800)
commitd52f1a5038b66ca5dc82d71541701ebb794cbc0b
tree043f2a8bdf3f94296f89855c9b5678f6bde8c2b1
parent9865698ee0d81d371b8846a1145a46f691de8388
afs: Leave cellnum alone for explicit mtpt cell

When a mountpoint is given an explicit cell, don't alter cellnum.
Cellnum represents the cell for the parent, and is used for
determining whether or not we're crossing a cell boundary.

Previously, this code forced the mount point to always be treated as
foreign (for a mountpoint prefixed with a cell name), or to always be
treated as local (for a mountpoint prefixed with a cell number).

Reviewed-on: http://gerrit.openafs.org/6051
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit e14dec55e6600edb60ce5184b4ab1f646c68947b)

Change-Id: I8d2b378a95533aabd65e7121000ce34238d728b7
Reviewed-on: http://gerrit.openafs.org/6123
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afs/VNOPS/afs_vnop_lookup.c