]> 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>
Tue, 8 Feb 2011 00:52:20 +0000 (16:52 -0800)
commit11d2f9289791656cfbe6a645ac54ae80f75def57
tree6579279f91a184376f479591e56b91734abb4ce2
parentdfb7202bf37bb0ed723369017c724468a34030fc
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.

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

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