]> 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)
committerJeffrey Altman <jaltman@openafs.org>
Sat, 15 Jan 2011 23:40:12 +0000 (15:40 -0800)
commita65ea91e2a6ab3870fe2e9e1a17c82e2a62c2910
tree76b30bfb3c8ce5ec9330098e1652178f12bb3251
parentbae39a9aa3738878708f4c67d17750beca4d6dca
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.

Change-Id: I4933d3f4fda76050eecde3caeaa6bc30011cd974
Reviewed-on: http://gerrit.openafs.org/3672
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/vol/namei_ops.c