]> git.michaelhowe.org Git - packages/o/openafs.git/commit
vos: convertROtoRW - prevent VLDB corruption
authorMark Vitale <mvitale@sinenomine.net>
Mon, 27 Aug 2012 19:11:32 +0000 (15:11 -0400)
committerDerrick Brashear <shadow@your-file-system.com>
Sun, 7 Oct 2012 13:00:59 +0000 (06:00 -0700)
commit9eb532ff9cc029533089a79473d3e154b28a7ea9
tree3b0a71bfd3e0f79aee731d8145832e1669b81a96
parent38ad78ae0d8f014295bb1256bb3c10ed7936537e
vos: convertROtoRW - prevent VLDB corruption

vos convertROtoRW incorrectly marks the first VLDB entry as the
new RW if the converted RO is not in the VLDB.  Correct this
by creating a new valid RW site in the VLDB entry.

Change-Id: I683ac10db90c2c41717c11c0d86eadc81a935e52
Reviewed-on: http://gerrit.openafs.org/8037
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit f258e7dddeb4331d2cf4649541c1a3adfa7a416a)
Reviewed-on: http://gerrit.openafs.org/8216
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/volser/vos.c