]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Dec old special inodes in inode convertROtoRW
authorAndrew Deason <adeason@sinenomine.net>
Mon, 26 Oct 2009 19:04:48 +0000 (14:04 -0500)
committerDerrick Brashear <shadow|account-1000005@unknown>
Mon, 2 Nov 2009 16:18:07 +0000 (08:18 -0800)
commit4a70653b22b1f5b2565d0eea353713f29b21212d
treeb8417e0b7d16f490c554b2f61aa3fe35bc5d9131
parentabdf72bc87ec942b1d6ec8f84a4d3ea18c1205a9
Dec old special inodes in inode convertROtoRW

The convertROtoRW code for the inode fileserver makes copies of the
volume's special inodes, but leaves the old (RO) inodes around. If the
RO is created again, this will result in duplicate special inodes for
the same volume, which freaks out the salvager (and possibly other
things).

So IH_DEC the old RO special inodes after converting, so they go away.

Reviewed-on: http://gerrit.openafs.org/735
Tested-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit dbe3b7b8eeb4a010f82248befc6167b3b5ed9606)

Change-Id: Id545befbb38f60c262ab23b5eb5dd54439008760
Reviewed-on: http://gerrit.openafs.org/761
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/vol/listinodes.c