5858 Commits

Author SHA1 Message Date
Simon Wilkinson
60e5e69eab DEVEL15-disconnected-put-back-vcaches-we-held-20090323
LICENSE IPL10

if we hold a vcache for shadow, we need to release the ref when we give it up


(cherry picked from commit 62f4c29eef578b7f3df143f3ddd04307d8f2271f)
2009-03-23 19:11:25 +00:00
Simon Wilkinson
fc5f9be3c5 DEVEL15-disconnected-dont-double-dequeue-shadow-removal-20090323
LICENSE IPL10
FIXES 124496

queue_Remove twice tends to cause things like panics


(cherry picked from commit ad20213bbba4083160a88c2f65e5e8c8de259266)
2009-03-23 19:00:02 +00:00
Derrick Brashear
d7b2bdd57b DEVEL15-viced-type-fixups-20090323
LICENSE IPL10

SetLogThreadNum takes a fcn returning int.
get_key's first arg is a void*


(cherry picked from commit 7a7b55658b7c72eef0f9b495f02ce766c9961d6e)
2009-03-23 18:46:52 +00:00
Jeffrey Altman
b17bb5aaf8 DEVEL15-volid-unsigned-int32-20090323
LICENSE IPL10
FIXES 124510

assume volume ids are always unsigned 32 bit values


(cherry picked from commit c39d0161552bf69affe839fcb36dfb858dbaedc1)
2009-03-23 18:19:04 +00:00
Derrick Brashear
15288f7859 DEVEL15-linux-task-becomes-task-struct-20090323
LICENSE IPL10

struct task->struct task_struct. configure needs to cope


(cherry picked from commit 4830a7c8d79c72dcd5d8ce4bab6b8c0a8b249d96)
2009-03-23 15:16:43 +00:00
Derrick Brashear
a436975534 DEVEL15-krb5-run-configure-tests-20090321
LICENSE IPL10
FIXES 124522

--with-krb5=/path caused us to not run configure tests. fix that


(cherry picked from commit 39c4e32bf484aab2c9cf978cbf5877bdb989e9d6)
2009-03-21 16:29:56 +00:00
Derrick Brashear
c04dc241ba DEVEL15-aix-no-aklog-tsm-without-krb5-20090320
LICENSE IPL10
FIXES 124522

don't build aklog_dynamic_auth without krb5


(cherry picked from commit c1d545dff6483369ade640b27b9ab7baaa6faac5)
2009-03-21 15:49:20 +00:00
Derrick Brashear
107aac6299 DEVEL15-rx-prototypes-alloc-free-ifdefs-20090321
LICENSE IPL10

don't prototype osi_Alloc/osi_Free if they're just #defines


(cherry picked from commit 4398d6277dacde8464c0db7a73d5ecb37039823f)
2009-03-21 15:45:52 +00:00
Derrick Brashear
563ffa4766 DEVEL15-sig-t-exclude-multiple-20090321
LICENSE IPL10

disallow multiple typedefs of sig_t


(cherry picked from commit 4bf68765b6d2a04c388ae9a5e6f134c0505a785b)
2009-03-21 15:39:14 +00:00
Derrick Brashear
91ea55fa2c DEVEL15-update-config-guess-20090321
LICENSE IPL10

update from upstream


(cherry picked from commit b1aaf822f558236b91e543f03bcf159db1054c0b)
2009-03-21 15:07:50 +00:00
Derrick Brashear
70572e538f DEVEL15-aix51-pag-header-20090320
LICENSE IPL10
FIXES 124522

no sys/pag.h until 5.2


(cherry picked from commit 3e034dcb6cbb82ef78853a342bd2c459250e0bcd)
2009-03-20 22:45:20 +00:00
Jeffrey Altman
9df22587de DEVEL15-vol-fssync-server-socket-20090320
LICENSE IPL10

another location where we need osi_socket


(cherry picked from commit 73a57e8013c67d5760c677c6aef36611af076af0)
2009-03-20 17:25:33 +00:00
Jeffrey Altman
28bcbbdd44 DEVEL15-libadmin-client-prototype-20090320
LICENSE IPL10

correct the prototype for afsclient_RXDebugOpenPort


(cherry picked from commit b2db1e83c1b4b66ee4f7fb22a6211f849f0e5dd4)
2009-03-20 17:21:59 +00:00
Jeffrey Altman
3853dd846d DEVEL15-xstat-printf-ptr-format-20090320
LICENSE IPL10

make use of AFS_PTR_FMT to avoid warnings on Windows.


(cherry picked from commit 218f08ffedb8c75e0314ab00000adf8419fdfe7b)
2009-03-20 17:10:19 +00:00
Jeffrey Altman
b1c1148189 DEVEL15-config-afs-ptr-format-20090320
LICENSE IPL10

Define AFS_PTR_FMT to permit per platform printf formats for pointer
representation.


(cherry picked from commit 37fc3b01445cd6446f09c476ea2db47fea544b7d)
2009-03-20 17:09:12 +00:00
Chaskiel M Grundman
3289196dfb DEVEL15-linux-osi-vm-flushpages-use-remote-invalidate-20090320
LICENSE IPL10

use invalidate_remote_inode instead of vmtruncate in osi_VM_FlushPages


(cherry picked from commit 18da64a45c5f1a069f39f687bd84ee51b77a6bd3)
2009-03-20 15:55:48 +00:00
Derrick Brashear
f6b127f72b DEVEL15-dyn-vcache-shake-needs-exporting-20090320
LICENSE IPL10

update to export shakeloosevcaches


(cherry picked from commit 6ef7d7dfb8caf4a555c2de480037769783cbe88e)
2009-03-20 15:04:18 +00:00
Jeffrey Altman
85537feeb7 DEVEL15-vol-fssync-socket-20090320
LICENSE IPL10

the argument to the function parameter is a socket.  fix the type
to be osi_socket.


(cherry picked from commit 0cd43484be886721c0c4d9750f0b40015ba60756)
2009-03-20 12:15:12 +00:00
Jeffrey Altman
cef66b06ff DEVEL15-libadmin-vos-windows-exports-20090320
LICENSE IPL10

do not export function name arrays that are already
exported by other libraries.


(cherry picked from commit 64c451cec0ccce8d095109a8697144be093c1259)
2009-03-20 11:52:22 +00:00
Jeffrey Altman
dfd7065a7d DEVEL15-libadmin-client-prototypes-20090320
LICENSE IPL10

fix the prototype for afsclient_RPCStatOpenPort and afsclient_CMStatOpenPort


(cherry picked from commit 5eea839b637a120e9b10246511b3d826a1e49a0f)
2009-03-20 11:49:44 +00:00
Jeffrey Altman
2ec5ab3d05 DEVEL15-libadmin-windows-socket-20090320
LICENSE IPL10

a socket on Windows is type SOCKET not HANDLE


(cherry picked from commit 14a60754951b7b4920ba1dfcf9c9aac99ae8bce4)
2009-03-20 11:47:13 +00:00
Jeffrey Altman
20872f9054 DEVEL15-windows-osistatl-20090320
LICENSE MIT

Add lock level to osistatl


(cherry picked from commit df961512e1162188a60cec613dd273e25dbf63c9)
2009-03-20 11:44:48 +00:00
Jeffrey Altman
c92c44fab5 DEVEL15-static-inline-macros-20090320
LICENSE IPL10
FIXES 124515

add back support for AFS_64BIT_ENV


(cherry picked from commit e460a6e30539086ff3c4bdb264ab57f6e045ad71)
2009-03-20 05:30:29 +00:00
Derrick Brashear
304f9d671e DEVEL15-ubik-recovery-use-file-number-not-hardcoded-zero-20090319
LICENSE IPL10

don't hardcode DB0, use the file number which is being recovered


(cherry picked from commit ef5f6f988c352db58e8b9df422b417cc199b4837)
2009-03-20 03:49:04 +00:00
Derrick Brashear
38b9d2cceb DEVEL15-param-file-64-bit-scalar-updates-20090319
LICENSE IPL10

64 bit scalar type availability


(cherry picked from commit 4eef62a2f29d81d4fd8c3d28beb0403499f9802e)
2009-03-20 03:12:23 +00:00
Derrick Brashear
26bcc392d8 DEVEL15-dynamic-vcache-allocation-20090319
LICENSE IPL10
FIXES 124334

add dynamic allocation of vcaches when possible (currently just for linux)


(cherry picked from commit e59b81c984652f7570708831d8b36bdd42f98cf8)
2009-03-20 02:31:41 +00:00
Derrick Brashear
ab1805508f DEVEL15-cbd-new-magic-version-with-fixed-time-size-and-dump-switch-20090319
LICENSE IPL10
FIXES 124451

make cbd able to select whether time is 32 or 64 bit; when time size is
known, have a new magic number so it's obvious


(cherry picked from commit 79d362c77cfc307dc66bfe874952a914e2313e89)
2009-03-19 20:13:02 +00:00
Derrick Brashear
117d0b9311 DEVEL15-bozo-fs-create-unused-ptr-20090319
LICENSE IPL10

add an "unused" field so we match the prototype for create in the bnodeops
struct


(cherry picked from commit fe98c927d3888814077b085e53725f15996cd1b9)
2009-03-19 18:03:51 +00:00
Derrick Brashear
acdd6d56d0 DEVEL15-static-inline-macros-20090319
LICENSE IPL10

rework the static inline macros to work with headers, with userspace code,
and to have just one copy


(cherry picked from commit 101399171b5a5315cb3f1fdd003d56f0ca214bc8)
2009-03-19 17:44:48 +00:00
Derrick Brashear
670733ceef DEVEL15-viced-type-errors-20090319
LICENSE IPL10

use ktc_encryptionKey instead of a char array to avoid prototype issues
threadNum should return int, not char


(cherry picked from commit a343f09803a4b3d5c5492c7d52becbd1526c1f8b)
2009-03-19 14:58:32 +00:00
Derrick Brashear
9ce26b6d46 DEVEL15-linux-put-back-warnings-20090319
LICENSE IPL10

need to verify this for all platforms at the same time; since the function
is portable. should be const anyway; we don't want to change it.


(cherry picked from commit 3d54f743bce4c1bd603e9572790f51e85905dabb)
2009-03-19 14:42:49 +00:00
Marc Dionne
d53e0310b3 DEVEL15-linux-key-alloc-changes-20090318
LICENSE IPL10
FIXES 124507

Fix the old configure test for key_alloc for the task argument - we
can't just rely on the number of arguments anymore. Wish this could be
done without using -Werror.
Add an additional test for the struct cred argument


(cherry picked from commit bf9dc554b366b08ce0bef62ce242c94371938000)
2009-03-19 04:02:32 +00:00
Marc Dionne
1f5ef2b86a DEVEL15-mypidxx-not-always-int-20090318
LICENSE IPL10
FIXES 124505

don't assume MyPidxx will be an int; on linux it's current, for instance, a
task_struct


(cherry picked from commit aaae44dfe993d95a253b35f60feab5e9806e51f2)
2009-03-19 03:58:04 +00:00
Marc Dionne
b1f98c9b32 DEVEL15-discon-ifdef-cleanup-20090318
LICENSE IPL10
FIXES 124508

fix the disconnected ifdefs


(cherry picked from commit 156f1b8e4a3607a49de45ca43a52f42a21cdaab8)
2009-03-19 03:53:42 +00:00
Jeffrey Altman
a6f8229362 DEVEL15-printf-sanity-20090318
LICENSE IPL10

make it work for Windows


(cherry picked from commit be4d4076f281840070a908a7da10f4cab70cea62)
2009-03-18 22:46:33 +00:00
Marc Dionne
f70646eca3 DEVEL15-linux-warning-reduction-20090318
LICENSE IPL10
FIXES 119434

cleanup warnings in linux kernel builds


(cherry picked from commit 85d8bdac7439966a64709724d20dfd487911f7bc)
2009-03-18 13:41:35 +00:00
Jeffrey Altman
2134e8b642 DEVEL15-windows-afsd-badsharename-20090317
LICENSE MIT

When Dfs support is enabled in the smb server do not return
CM_ERROR_BADSHARENAME unless the component that is not found
is in fact a share name.  Return CM_ERROR_NOSUCHPATH instead.


(cherry picked from commit 09b23c27a7b59a32b8e39bbc0410ddda373da5d4)
2009-03-18 03:56:26 +00:00
Derrick Brashear
ac057b078e DEVEL15-configure-cpp-fallback-to-cc-E-20090317
LICENSE IPL10

if we don't find any cpp whatsoever, fall back to $CC -E, or cc -E


(cherry picked from commit f26074cbde320fbc89da291e0aa243c2301bb599)
2009-03-17 15:44:25 +00:00
Derrick Brashear
69d535771f DEVEL15-prototyping-fallout-20090317
LICENSE IPL10

clean up to make prototyping code build everywhere


(cherry picked from commit 57326151f50270695c572afa06c1d4b4b5df40b0)
2009-03-17 15:10:55 +00:00
Derrick Brashear
066794bdde DEVEL15-solaris-vnode-path-cache-cleanup-20090317
LICENSE IPL10

declare needed variables everywhere


(cherry picked from commit b7372c3e1473ffcd4ab13451d3861103b51df3af)
2009-03-17 15:10:42 +00:00
Simon Wilkinson
29387bc74b DEVEL15-printf-sanity-20090317
LICENSE IPL10
FIXES 124239

sanitize the arguments to printf to minimize warnings


(cherry picked from commit 355344253605925972ea032d05dcb5fee3d8c3b6)
2009-03-17 04:51:50 +00:00
Jeffrey Altman
1ecbe7bbcb DEVEL15-vol-socket-abstraction-20090317
LICENSE IPL10

windows needs the abstraction for sockets


(cherry picked from commit 9fa77320ca368af97162d561bb7560b9fa55666a)
2009-03-17 04:50:05 +00:00
Steven Jenkins
2ff174b011 DEVEL15-tests-update-20090316
LICENSE IPL10

1- make afs-newcell.pl remove KeyFile in unwind
2- correct missing space in volserver setup for DAFS
3- fix klog to not try to use a Kerberos realm name
4- fix minor POD bug in src/tests/OpenAFS/wrapper.pm
5- enhance src/tests/OpenAFS/vos.pm to support On-line/Off-line state


(cherry picked from commit 8aa03f1168c19166333a47e88e667a8ca5138133)
2009-03-17 03:07:06 +00:00
Derrick Brashear
8423131994 DEVEL15-gtx-x11-init-debug-20090316
LICENSE IPL10

initialize x11 version of gtx correctly


(cherry picked from commit e7b25342096994520b7cea8eab76791edc68b9aa)
2009-03-17 02:31:47 +00:00
Jason Edgecombe
92781aa75e DEVEL15-man-page-vos-setfields-20090316
LICENSE BSD
FIXES 124472

New man page for vos setfields.  Also adds -noresolve documentation to the
vos(1) common flags.


(cherry picked from commit 85bb464bb46cd87e10a90b75748e164ae683cba0)
2009-03-17 02:30:01 +00:00
Derrick Brashear
fadbc46187 DEVEL15-disconnected-cache-type-genericization-miss-20090316
LICENSE IPL10

the cache type union change missed this town...


(cherry picked from commit d26b3688625231465e17e39f082ed31f230dc667)
2009-03-16 19:59:51 +00:00
Derrick Brashear
19ce55a837 DEVEL15-ubik-header-needs-stdarg-20090316
LICENSE IPL10

like com_err.h, includers now need this


(cherry picked from commit a3125d5752390d424fc828d6f87da3c67589a9bb)
2009-03-16 19:51:02 +00:00
Jeffrey Altman
bf50ac6dca DEVEL15-windows-afsconfig-20090316
LICENSE MIT

add typedef for socklen_t which is not present on Windows.


(cherry picked from commit 143819664227f239c9cc07503c9fad1faa5ba9a3)
2009-03-16 18:13:32 +00:00
Derrick Brashear
dc156eb01a DEVEL15-irix-no-inline-20090316
LICENSE IPL10

no inline on irix; deal like elsewhere


(cherry picked from commit 6862d4685510ca618c16ed9c150dcfc7e31d5299)
2009-03-16 17:54:28 +00:00
Jeffrey Altman
354aaa316b DEVEL15-rxstat-include-path-20090316
LICENSE IPL10

do something sensible with rxstat prototypes header


(cherry picked from commit 0e89bfb934863e6ab852b24422fa2c8f8c328120)
2009-03-16 17:52:48 +00:00