]> git.michaelhowe.org Git - packages/o/openafs.git/commit
vol: construct proper VolDir path on Windows
authorJeffrey Altman <jaltman@your-file-system.com>
Sat, 15 Jan 2011 16:54:40 +0000 (11:54 -0500)
committerDerrick Brashear <shadow@dementia.org>
Fri, 4 Feb 2011 13:26:33 +0000 (05:26 -0800)
commite08f9d85fb4f50f6f87a500be0c7ea9b5da585e3
treeb1b9091f1da751b0f1a1619b9e13bd480c6eefb0
parentbccbd2b25b189cbc86d43fa1b072ab317aafeeb9
vol: construct proper VolDir path on Windows

namei_HandleToInodeDir initializes the path name with
the nt_drive value.  Therefore calling addtoname(name, name->n_drive)
produces the invalid path "D:\D:\\Vol_.....".  Remove the unnecessary
addtoname() call.

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

Change-Id: Icd7c6225b80d77184e6a15df0dbb4fd0dfcd0506
Reviewed-on: http://gerrit.openafs.org/3833
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vol/namei_ops.c