OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-850-gb13a5a5
Gerrit Code Review
gerrit@openafs.org
Tue, 8 Mar 2011 06:31:49 -0800 (PST)
The following commit has been merged in the master branch:
commit 5247fa38a4faebfdffba178ca01e5b419f034d5d
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Sat Mar 5 14:34:05 2011 -0500
vol: FILE* to FD_t except logging and special ops
Replace all use of FILE* with FD_t. Switch from afs_open to OS_OPEN.
In the process:
afs_flush and afs_fsync -> OS_SYNC
afs_stat which is used to obtain the file size -> OS_SIZE
afs_close or close -> OS_CLOSE
Etc. While cleaning up, use afs_stat_st macro when declaring
a struct stat because the structure and function are not guaranteed
to be the same name on all platforms.
These changes permit Windows to build the vol package without
the use of the C runtime library.
Change-Id: I9e0a7fdbeffa76c3c87aefce87ca1af495657a2f
Reviewed-on: http://gerrit.openafs.org/4149
Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com>
Tested-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/vol/ihandle.c | 2 +-
src/vol/ihandle.h | 24 ++++----
src/vol/listinodes.c | 138 +++++++++++++++++++------------------------------
src/vol/namei_ops.c | 59 +++++++++------------
src/vol/namei_ops.h | 8 ++--
src/vol/ntops.h | 2 +-
src/vol/nuke.c | 4 +-
src/vol/partition.c | 8 ++--
src/vol/vol-info.c | 23 +++-----
src/vol/vol-salvage.c | 111 ++++++++++++++++++++-------------------
src/vol/vol-salvage.h | 2 +-
src/vol/volume.c | 2 +-
12 files changed, 171 insertions(+), 212 deletions(-)
--
OpenAFS Master Repository