]> git.michaelhowe.org Git - packages/o/openafs.git/commit
vol: namei_ops improve readability; fix namei_create on Windows
authorJeffrey Altman <jaltman@your-file-system.com>
Thu, 20 Jan 2011 07:19:03 +0000 (02:19 -0500)
committerDerrick Brashear <shadow@dementia.org>
Sat, 22 Jan 2011 20:44:20 +0000 (12:44 -0800)
commitd6528628b4dcadce47bb1a9244768ca3d43b0bf3
tree7db4dc1c269865442e8569d0b90d316bd25ac5e7
parenteb6f3a89a3f4da6d3de2d4ae34743014e4eb0fb2
vol: namei_ops improve readability; fix namei_create on Windows

use NAMEI_SPECDIRC, NAMEI_INODESPECIAL, INVALID_FD and other
preprocessor symbols in place of numeric constants.

namei_create() on Windows must call namei_CreateDataDirectories()
and retry if the afs_open() call fails with either ENOTDIR or
ENOENT.

modify namei_HandleToName() on Windows to make its decision
process clearer.

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