]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
17 years agoSTABLE14-newtrans-lock-fix-fix-20081018
Jeffrey Hutzelman [Sat, 18 Oct 2008 20:26:17 +0000 (20:26 +0000)]
STABLE14-newtrans-lock-fix-fix-20081018

LICENSE IPL10

swap in the freshly allocated memory instead of throwing it away

(cherry picked from commit 2767cbf773653bffaa63e098cce463ada804d6d7)

17 years agoSTABLE14-ubik-uninitialized-var-20081018
Jeffrey Altman [Sat, 18 Oct 2008 16:24:57 +0000 (16:24 +0000)]
STABLE14-ubik-uninitialized-var-20081018

LICENSE MIT

'pass' must be initialized.  do so.

(cherry picked from commit 7e8c41d53fcd51ae0ff4420ba1027b354af306c8)

17 years agoSTABLE14-restore-uninitialized-var-20081018
Jeffrey Altman [Sat, 18 Oct 2008 16:23:37 +0000 (16:23 +0000)]
STABLE14-restore-uninitialized-var-20081018

LICENSE MIT

'last' must be initialized.  do so.

(cherry picked from commit f69137625fde97e465671978820350d41ca5d5b8)

17 years agoSTABLE14-fix-maxmtu-command-line-20081018
Jeffrey Altman [Sat, 18 Oct 2008 16:10:57 +0000 (16:10 +0000)]
STABLE14-fix-maxmtu-command-line-20081018

LICENSE MIT

fix the variable used for maxmtu command line processing

(cherry picked from commit 1bdea5e4707e9c60b949cc55b847c498fc9a7bec)

17 years agoSTABLE14-linux-alt-builddir-fix-20081014
Mike Meffie [Tue, 14 Oct 2008 15:38:51 +0000 (15:38 +0000)]
STABLE14-linux-alt-builddir-fix-20081014

LICENSE IPL10
FIXES 121650

correct the if test to include missing x

(cherry picked from commit 9be6b92a17ebe1d125e13c1cbd7bce620e7672ce)

17 years agoSTABLE14-linux-proc-walk-locking-20081012
Derrick Brashear [Sun, 12 Oct 2008 19:44:46 +0000 (19:44 +0000)]
STABLE14-linux-proc-walk-locking-20081012

LICENSE IPL10
FIXES 116603

sort out rcu locking versus tasklist lock. if this fails we probably have to
disable walking entirely

(cherry picked from commit 24ce8010cd414c8c573f2b035d186a2418900546)

17 years agoSTABLE14-linux-alternate-kernel-builddir-20081012
Stefaan De Roeck [Sun, 12 Oct 2008 19:02:35 +0000 (19:02 +0000)]
STABLE14-linux-alternate-kernel-builddir-20081012

LICENSE IPL10
FIXES 121354

add support for KBUILD_OUTPUT=... builds.

(cherry picked from commit 726fc5b8425eb7bbaab4bdde38d977382dc17a9d)

17 years agoSTABLE14-volser-newtrans-racy-20081012
Jeffrey Hutzelman [Sun, 12 Oct 2008 18:53:29 +0000 (18:53 +0000)]
STABLE14-volser-newtrans-racy-20081012

LICENSE IPL10
FIXES 121263

avoid a race on creating new transactions in volserver

(cherry picked from commit 322f7e0e9fff02c5d6cad8d9aded3e40abce93ef)

17 years agoSTABLE14-cachemgr-blacklist-down-servers-20081010
Derrick Brashear [Fri, 10 Oct 2008 17:25:58 +0000 (17:25 +0000)]
STABLE14-cachemgr-blacklist-down-servers-20081010

LICENSE IPL10
FIXES 121035

fix to issue suggested by reuter@rzg.mpg.de

(cherry picked from commit 523dd766ef7ed26c2207c7ec4bebe8f74e4dc408)

17 years agoSTABLE14-volser-dumpstuff-log-errors-20081010
Jeffrey Hutzelman [Fri, 10 Oct 2008 15:43:02 +0000 (15:43 +0000)]
STABLE14-volser-dumpstuff-log-errors-20081010

LICENSE IPL10
FIXES 121040

return sensible (ENOSPC) errors when out of tags or vnodes. don't perror. log
instead.

(cherry picked from commit 8b1b390713a79fadd300d17713350f5789879615)

17 years agoSTABLE14-cmdebug-entry-count-20081010
Harald Barth [Fri, 10 Oct 2008 12:54:45 +0000 (12:54 +0000)]
STABLE14-cmdebug-entry-count-20081010

LICENSE IPL10

raise max number of entries as cache managers routinely have more
than 10,000 vnode status objects

(cherry picked from commit d569a083e337c2971a4ac471d8adeb1788518684)

17 years agoSTABLE14-hpux-gop-lookupname-20081009
Derrick Brashear [Thu, 9 Oct 2008 19:57:04 +0000 (19:57 +0000)]
STABLE14-hpux-gop-lookupname-20081009

LICENSE IPL10

add missing gop_lookupname macro for hpux

(cherry picked from commit 7034078b3386e074a399f9387ff9b387e479f4f0)

17 years agoSTABLE14-solaris-gop-lookupname-20081009
Derrick Brashear [Thu, 9 Oct 2008 19:54:31 +0000 (19:54 +0000)]
STABLE14-solaris-gop-lookupname-20081009

LICENSE IPL10

add missing gop_lookupname macro for solaris

(cherry picked from commit 2e15aa2b261f49a1d6648c36a34300cade3c968c)

17 years agoSTABLE14-openafs-1-4-8-pre2-20081007 openafs-stable-1_4_8pre2
Derrick Brashear [Tue, 7 Oct 2008 22:32:37 +0000 (22:32 +0000)]
STABLE14-openafs-1-4-8-pre2-20081007

LICENSE IPL10

make 1.4.8pre2

17 years agoSTABLE14-darwin-fake-more-disk-free-20081007
Derrick Brashear [Tue, 7 Oct 2008 22:30:43 +0000 (22:30 +0000)]
STABLE14-darwin-fake-more-disk-free-20081007

LICENSE IPL10

placate finder. this time for sure

(cherry picked from commit 967cbd2628c02060870c2381bd6fca3480f5711a)

17 years agoSTABLE14-linux-d-reval-rewrite-mtpts-when-fakestat-enabled-20081007
Derrick Brashear [Tue, 7 Oct 2008 20:00:56 +0000 (20:00 +0000)]
STABLE14-linux-d-reval-rewrite-mtpts-when-fakestat-enabled-20081007

LICENSE IPL10
FIXES 113558

avoid case where revalidate saw a mountpoint which hadn't been rewritten yet
and failed to handle it, exposing ENOENT where the entry existed.

(cherry picked from commit b3bf4b89e345b991984a416d97e3f9aeacc0e159)

17 years agoSTABLE14-find-new-xbsa-first-20081007
Derrick Brashear [Tue, 7 Oct 2008 19:51:45 +0000 (19:51 +0000)]
STABLE14-find-new-xbsa-first-20081007

LICENSE IPL10
FIXES 119162

change test order

(cherry picked from commit af0b03055e8a3244881d8ac3e7c52ed775ae86d1)

17 years agoSTABLE14-ubik-notruncate-dont-pollute-fd-cache-20081007
Derrick Brashear [Tue, 7 Oct 2008 18:44:31 +0000 (18:44 +0000)]
STABLE14-ubik-notruncate-dont-pollute-fd-cache-20081007

LICENSE IPL10

issue suggested by Chaskiel Grundman; while it should not have been an issue
we now behave usefully in the notruncate recovery code.

(cherry picked from commit fe0186dccd4e4d16c0610f211d454a90b0841a83)

17 years agoSTABLE14-vldb-check-fix-more-kinds-of-corruption-20081007
Derrick Brashear [Tue, 7 Oct 2008 16:35:41 +0000 (16:35 +0000)]
STABLE14-vldb-check-fix-more-kinds-of-corruption-20081007

LICENSE IPL10

work harder to ferret out corruption; still reruns itself so if 2 hash chains
are comingled they get split back out correctly without having to flush state
continuously

(cherry picked from commit 1e3674cafe3c3feea0840c531cc0461d358f87c6)

17 years agoSTABLE14-linux-fakestat-revalidate-to-validity-20081006
Derrick Brashear [Tue, 7 Oct 2008 04:41:15 +0000 (04:41 +0000)]
STABLE14-linux-fakestat-revalidate-to-validity-20081006

LICENSE IPL10

we had something which fakestat was faking, but the inode had no ops, so
we ended up ENOTDIRing. oops.

(cherry picked from commit 2cfe5d555e2e9eaedf5107a34d5a2f74092b98b1)

17 years agoSTABLE14-kdump-rx-stats-20081003
Hans-Werner Paulsen [Fri, 3 Oct 2008 21:40:05 +0000 (21:40 +0000)]
STABLE14-kdump-rx-stats-20081003

LICENSE IPL10
FIXES 118700

add change to kdump also

(cherry picked from commit 5158e8c7aff8f0385edbebb688b6c79b19c604c3)

17 years agoSTABLE14-acinclude-protos-20081002
Derrick Brashear [Thu, 2 Oct 2008 15:01:20 +0000 (15:01 +0000)]
STABLE14-acinclude-protos-20081002

LICENSE IPL10

add missing acinclude templates

17 years agoSTABLE14-rx-current-packet-double-free-20081003
Jeffrey Altman [Thu, 2 Oct 2008 12:55:03 +0000 (12:55 +0000)]
STABLE14-rx-current-packet-double-free-20081003

LICENSE MIT

in rxi_WriteProc() make sure that rx_call currentPacket is
set to NULL after the rx_packet is added to a queue or
passed to rx_freePacket().  Otherwise we will panic when
we attempt to call rx_freePacket twice on the same packet.

(cherry picked from commit 1e7203940456e783aad215e939c04ed01dd45599)

17 years agoSTABLE14-DEVEL14-rx_stats-rename-20080928
Marc Dionne [Sat, 27 Sep 2008 21:54:49 +0000 (21:54 +0000)]
STABLE14-DEVEL14-rx_stats-rename-20080928

LICENSE IPL10
FIXES 117797

struct rx_stats was recently renamed rx_statistics, but not all of its
users were adjusted.

17 years agoSTABLE14-openafs-1-4-8-pre1-20080930 openafs-stable-1_4_8pre1
Derrick Brashear [Tue, 30 Sep 2008 20:08:17 +0000 (20:08 +0000)]
STABLE14-openafs-1-4-8-pre1-20080930

LICENSE IPL10

make 1.4.8 pre1

17 years agoSTABLE14-rx-global-lock-macro-correction-20080925
Jeffrey Altman [Thu, 25 Sep 2008 18:26:47 +0000 (18:26 +0000)]
STABLE14-rx-global-lock-macro-correction-20080925

LICENSE IPL10

refer to the same macro everyone else does

(cherry picked from commit 939e070c869b46abc707bbd916d4dfbe1e66a55e)

17 years agoSTABLE14-rx-clear-queues-correctly-20080925
Jeffrey Altman [Thu, 25 Sep 2008 18:21:52 +0000 (18:21 +0000)]
STABLE14-rx-clear-queues-correctly-20080925

LICENSE IPL10

don't potentially leak packets by leaving them behind and initing queues;
in fact, if you are cleaning up there is no need to init queues anyway.

17 years agoSTABLE14-rename-rx-stats-20080925
Jeffrey Altman [Thu, 25 Sep 2008 18:16:14 +0000 (18:16 +0000)]
STABLE14-rename-rx-stats-20080925

LICENSE IPL10

avoid using the same name for the struct and the global so the windows debugger
works usefully

(cherry picked from commit 7a4041f9404ff27f3e446d7b523086e0938dc6b9)

17 years agoSTABLE14-rx-readproc32-avoid-losing-currentpacket-20080925
Jeffrey Altman [Thu, 25 Sep 2008 18:06:57 +0000 (18:06 +0000)]
STABLE14-rx-readproc32-avoid-losing-currentpacket-20080925

LICENSE IPL10

when currentPacket is empty, avoid leaking it and instead free and NULL it

(cherry picked from commit 883683fc317c5196f2eea1c1baed3b510771f001)

17 years agoSTABLE14-ah-verbatim-section-tweak-20080925
Derrick Brashear [Thu, 25 Sep 2008 18:00:17 +0000 (18:00 +0000)]
STABLE14-ah-verbatim-section-tweak-20080925

LICENSE IPL10

remove PACKAGE and VERSION

(cherry picked from commit eb875d30340a67af78638cf7f395dfe14c0ed405)

17 years agoSTABLE14-acfooter-inline-20080925
Derrick Brashear [Thu, 25 Sep 2008 15:44:03 +0000 (15:44 +0000)]
STABLE14-acfooter-inline-20080925

LICENSE IPL10

based on work by mdw@umich.edu

(cherry picked from commit 9d09de799b6efc1a62e0cf28f1b033fd4132b2e1)

17 years agoSTABLE14-rx-dpf-clarify-20080924
Simon Wilkinson [Wed, 24 Sep 2008 22:32:26 +0000 (22:32 +0000)]
STABLE14-rx-dpf-clarify-20080924

LICENSE IPL10

rework dpf macro slightly so there are no trailing ; issues

17 years agoSTABLE14-macos-panic-decoder-format-fix-20080921
Derrick Brashear [Sun, 21 Sep 2008 14:03:50 +0000 (14:03 +0000)]
STABLE14-macos-panic-decoder-format-fix-20080921

LICENSE IPL10

handle new panic format

(cherry picked from commit 41d5a5f7e30b5933408394db6aa107b8de966d33)

17 years agoSTABLE14-redhat-mockbuild-dksm-20080912
Simon Wilkinson [Fri, 12 Sep 2008 14:07:52 +0000 (14:07 +0000)]
STABLE14-redhat-mockbuild-dksm-20080912

LICENSE IPL10

make mockbuild do the dkms rpms also

(cherry picked from commit 11b45ad09b7d257a476ddb57e48133ecf88375f7)

17 years agoSTABLE14-aix-export-build-fix-20080906
Derrick Brashear [Sat, 6 Sep 2008 12:59:27 +0000 (12:59 +0000)]
STABLE14-aix-export-build-fix-20080906

LICENSE IPL10

add missing ; to case actions

(cherry picked from commit f51e8e7be5b16f84f0603a0e8bc1be4ffafac617)

17 years agoSTABLE14-syncserv-syncvldb-manpages-dryrun-20080906
Derrick Brashear [Sat, 6 Sep 2008 12:51:38 +0000 (12:51 +0000)]
STABLE14-syncserv-syncvldb-manpages-dryrun-20080906

LICENSE IPL10

make syncserv and syncvldb manpages reflect dryrun option

(cherry picked from commit 4119d9742b3e17fac6a3f1f7ab64ec829f085498)

17 years agoSTABLE14-fileserver-sticky-bit-admin-only-20080905
Derrick Brashear [Fri, 5 Sep 2008 17:58:05 +0000 (17:58 +0000)]
STABLE14-fileserver-sticky-bit-admin-only-20080905

LICENSE IPL10

do restrict the sticky bit to admins.

(cherry picked from commit 5c2406070fc08c5fee0a09a1aa25e16af123b81a)

17 years agoSTABLE14-fileserver-sticky-bit-not-admin-only-20080904
Derrick Brashear [Thu, 4 Sep 2008 20:41:36 +0000 (20:41 +0000)]
STABLE14-fileserver-sticky-bit-not-admin-only-20080904

LICENSE IPL10

don't restrict the sticky bit to admins.

(cherry picked from commit 9689e78d716422970a0ae3ad89d36acaa517072e)

17 years agoSTABLE14-volser-preclude-alternate-partition-clones-20080404
Kevin McBride [Thu, 4 Sep 2008 19:17:23 +0000 (19:17 +0000)]
STABLE14-volser-preclude-alternate-partition-clones-20080404

LICENSE IPL10

patch based on work from shadow@dementia.org

the idea is to preclude multiple copies of a volume replica on a server,
as there's nothing to indicate which copy is correct and you can end up serving
stale data when you think you've just released and are serving something good

(cherry picked from commit 5640c4a1b5bea4e61ff2e6c2da02265c3e1ba612)

17 years agoSTABLE14-aix61-old-build-system-20080903
Derrick Brashear [Wed, 3 Sep 2008 20:35:43 +0000 (20:35 +0000)]
STABLE14-aix61-old-build-system-20080903

LICENSE IPL10

massage in support for pinstall

17 years agoSTABLE14-aix61-initial-support-20080903
Niklas Edmundsson [Wed, 3 Sep 2008 19:27:37 +0000 (19:27 +0000)]
STABLE14-aix61-initial-support-20080903

LICENSE IPL10
FIXES 113638

aix 6.1 support

(cherry picked from commit 539535cf679d6e70f34b80b74c127efae1f0bba2)

17 years agoSTABLE14-rx-mutex-init-once-20080903
Jeffrey Altman [Wed, 3 Sep 2008 19:07:34 +0000 (19:07 +0000)]
STABLE14-rx-mutex-init-once-20080903

LICENSE IPL10
FIXES 114555

because rx_Finalize doesn't clean up, we end up reiniting mutexes. use
pthread_once when not in the kernel.
(kernel does not now call rx_Finalize, ever)

(cherry picked from commit 7f4e0dfc3ef1464c8d8b422bf00915fa4538090c)

17 years agoSTABLE14-linux26-libafs-makefileproto-trust-kbuild-system-no-really-20080903
Derrick Brashear [Wed, 3 Sep 2008 17:59:29 +0000 (17:59 +0000)]
STABLE14-linux26-libafs-makefileproto-trust-kbuild-system-no-really-20080903

LICENSE IPL10

if we are really not using COMMON_KERN_CFLAGS and being trusting, let's do so.

(cherry picked from commit 995ee981fd2631d6e1e45311cee0a6d58f4a56be)

17 years agoSTABLE14-freebsd-70-client-20080826
Matt Benjamin [Tue, 26 Aug 2008 16:00:15 +0000 (16:00 +0000)]
STABLE14-freebsd-70-client-20080826

LICENSE IPL10

FreeBSD 7.0 client support (and 8.0 support but that's a moving target)

(cherry picked from commit a123bd8ccde0d6baf04401201b1672b19e9778db)

17 years agoSTABLE14-studio12-solaris-updates-20080826
Tom Keiser [Tue, 26 Aug 2008 15:12:23 +0000 (15:12 +0000)]
STABLE14-studio12-solaris-updates-20080826

LICENSE IPL10
FIXES 113671

update so we build with studio 12 on solaris

(cherry picked from commit 4d245c6a19394d54a241bd612016b10d1113ee7b)

17 years agoSTABLE14-linux-rpm-make-dkms-remove-work-20080826
Derrick Brashear [Tue, 26 Aug 2008 14:44:54 +0000 (14:44 +0000)]
STABLE14-linux-rpm-make-dkms-remove-work-20080826

LICENSE IPL10

rpm -e failed because of a typo here when removing our dkms rpm

(cherry picked from commit 82c62ae0e3b6366c9cdef0569e5be4637127e586)

17 years agoSTABLE14-server-argument-consistency-and-jumbograms-off-20080824
Derrick Brashear [Mon, 25 Aug 2008 02:15:18 +0000 (02:15 +0000)]
STABLE14-server-argument-consistency-and-jumbograms-off-20080824

LICENSE IPL10
FIXES 108703

go through and make servers able to take debug log level on command line;
add -jumbo; default to -nojumbo

(cherry picked from commit 12c8abc69030d3368194b148c692215c61b5da9c)

17 years agoSTABLE14-darwin-fake-afs-bigger-20080822
Derrick Brashear [Fri, 22 Aug 2008 20:27:00 +0000 (20:27 +0000)]
STABLE14-darwin-fake-afs-bigger-20080822

LICENSE IPL10
FIXES 112564

set up max uint64 "free" in afs so finder isn't dumb.

(cherry picked from commit 186f707378ce0c04705170743cbc67ff44e1c93f)

17 years agoSTABLE14-linux-proc-removal-20080822
Marc Dionne [Fri, 22 Aug 2008 20:17:02 +0000 (20:17 +0000)]
STABLE14-linux-proc-removal-20080822

LICENSE IPL10
FIXES 112910

remove /proc dir for openafs last

17 years agoSTABLE14-analyze-srvr-safety-check-20080822
Derrick Brashear [Fri, 22 Aug 2008 19:53:16 +0000 (19:53 +0000)]
STABLE14-analyze-srvr-safety-check-20080822

LICENSE IPL10
FIXES 112681

safety check to make sure a conn's srvr is set before dereferencing it

(cherry picked from commit ea81e608bae42ea84d7bc85d289bfe6f24d8d383)

17 years agoSTABLE14-rx-allow-jumbogram-disabling-really-20080822
Derrick Brashear [Fri, 22 Aug 2008 05:32:01 +0000 (05:32 +0000)]
STABLE14-rx-allow-jumbogram-disabling-really-20080822

LICENSE IPL10

right now, jumbograms can still be sent when -nojumbo is specified. make the
current macro a default and override when we're supposed to.

(cherry picked from commit 46dbd678714110002a36269beca8961e013650ac)

17 years agoSTABLE14-redhat-spec-default-build-authlibs-20080820
Derrick Brashear [Wed, 20 Aug 2008 19:42:41 +0000 (19:42 +0000)]
STABLE14-redhat-spec-default-build-authlibs-20080820

LICENSE IPL10
FIXES 101879

make build_authlibs default usefully

(cherry picked from commit 651f25b9c84b57cb88e2066c91c5234399673164)

17 years agoSTABLE14-vos-noresolve-option-20080410
Jeffrey Altman [Mon, 18 Aug 2008 18:23:40 +0000 (18:23 +0000)]
STABLE14-vos-noresolve-option-20080410

LICENSE MIT

Add a -noresolve option to all vos commands.  This permits the display
of servers by IP address instead of DNS name.  Very useful when 127.0.0.1
is registered as the server address or when trying to eliminate
multi-homed addresses.

(cherry picked from commit 40d41c191bdb64256d4ccf6a5f1bab8124249e63)

17 years agoSTABLE14-namei-by-default-on-sol10-20080816
Derrick Brashear [Sat, 16 Aug 2008 22:37:51 +0000 (22:37 +0000)]
STABLE14-namei-by-default-on-sol10-20080816

LICENSE IPL10

default to namei, not inode, on solaris 10 except by request

(cherry picked from commit 03982bd54839f81cdc691ad83e946fac8f8789b7)

17 years agoSTABLE14-volser-initialize-volume-updatedate-20080816
Dan Hyde [Sat, 16 Aug 2008 21:07:57 +0000 (21:07 +0000)]
STABLE14-volser-initialize-volume-updatedate-20080816

LICENSE IPL10
FIXES 110943

right now this isn't set until a vnode update happens. technically creating
the root directory is an update, so let's set it to now.

(cherry picked from commit b080c5d82ba5c7641afeb6836961cacf283e4902)

17 years agoSTABLE14-netbsd-sigwait-broken-til-nbsd5-20080816
Tracy Di Marco White [Sat, 16 Aug 2008 20:47:10 +0000 (20:47 +0000)]
STABLE14-netbsd-sigwait-broken-til-nbsd5-20080816

LICENSE IPL10
FIXES 111404

work around netbsd sigwait brokenness

(cherry picked from commit 8190e75b38a7cd136ce70050fdd71b1d62888055)

17 years agoSTABLE14-linux-2-6-27-20080816
Marc Dionne [Sat, 16 Aug 2008 20:43:13 +0000 (20:43 +0000)]
STABLE14-linux-2-6-27-20080816

LICENSE IPL10
FIXES 111634

add support for 2.6.27, which removes asm/semaphore.h

(cherry picked from commit d7a5619e5bd8241dd13611a4be37f04f3aa4ed27)

17 years agoSTABLE14-large-partition-support-20080305
Derrick Brashear [Sat, 16 Aug 2008 20:15:45 +0000 (20:15 +0000)]
STABLE14-large-partition-support-20080305

LICENSE IPL10
FIXES 88811

support partitions over 2tb

(cherry picked from commit b651ece9bdb2ea9dc19907a5686e9d084f3c03d6)

17 years agoSTABLE14-nfstrans-extra-protection-20080813
Derrick Brashear [Thu, 14 Aug 2008 00:49:37 +0000 (00:49 +0000)]
STABLE14-nfstrans-extra-protection-20080813

LICENSE IPL10

ensure, at least, that there is a filehandle for everything we check

(cherry picked from commit 04a25e0a4057b63cf7c700b17b1a6ab28e469547)

17 years agoSTABLE14-salvager-dont-corrupt-dir-lengths-20080812
Rainer Toebbicke [Thu, 14 Aug 2008 00:44:41 +0000 (00:44 +0000)]
STABLE14-salvager-dont-corrupt-dir-lengths-20080812

LICENSE IPL10
FIXES 111585

make the int64 macros work when the "64 bit" number to fill isn't.
use the correct variable type for length in salvager

(cherry picked from commit e5bf9b91eaf8cb930c6cf70419983901907db84d)

17 years agoSTABLE14-salvager-avoid-directory-issues-and-mark-volumes-busy-20080728
Hartmut Reuter [Mon, 28 Jul 2008 13:59:20 +0000 (13:59 +0000)]
STABLE14-salvager-avoid-directory-issues-and-mark-volumes-busy-20080728

LICENSE IPL10
FIXES 107767

avoid corrupting length in vnodeds when salvaging directories.
avoid tag reuse leaving data behind (not verified)
avoid not marking something busy during salvage

(cherry picked from commit 674e94b29c09cf87496d74a01ebeada14413daac)

17 years agoSTABLE14-pinstall-copy-env-20080728
Jason Edgecombe [Mon, 28 Jul 2008 13:17:41 +0000 (13:17 +0000)]
STABLE14-pinstall-copy-env-20080728

LICENSE IPL10
FIXES 108449

copy environment to children

17 years agoSTABLE14-softsig-structure-handling-20080716
Derrick Brashear [Wed, 16 Jul 2008 05:25:53 +0000 (05:25 +0000)]
STABLE14-softsig-structure-handling-20080716

LICENSE IPL10

this is sort of a dumb ifdef. harmless, but fix it to be what it's supposed to

(cherry picked from commit 4d7cfa129353001759c6224cc5c590be7e043fe9)

17 years agoSTABLE14-volser-reclone-bring-online-before-giveback-20080716
Derrick Brashear [Wed, 16 Jul 2008 05:16:25 +0000 (05:16 +0000)]
STABLE14-volser-reclone-bring-online-before-giveback-20080716

LICENSE IPL10
FIXES 107258

when giving back a volume after reclone, make it inService to avoid a race
between callers and the SetFlags RPC

(cherry picked from commit b4ce530d365e97342a92f4a8d59de12b0570c699)

17 years agoSTABLE14-butc-xbsa-update-20080711
Todd DeSantis [Tue, 15 Jul 2008 11:33:57 +0000 (11:33 +0000)]
STABLE14-butc-xbsa-update-20080711

LICENSE IPL10

update xbsa support for current tsm

(cherry picked from commit 5baf817a31e72d85415222af5c3dee70ed1f6bd3)

17 years agoSTABLE14-readme-devel-doxygen-20080713
Russ Allbery [Mon, 14 Jul 2008 07:03:17 +0000 (07:03 +0000)]
STABLE14-readme-devel-doxygen-20080713

LICENSE IPL10

Document the preferred Doxygen comment style.

(cherry picked from commit faeb953142a15866f0a35e908114a2443f0ac703)

17 years agoSTABLE14-readme-improvements-20080713
Russ Allbery [Mon, 14 Jul 2008 06:45:39 +0000 (06:45 +0000)]
STABLE14-readme-improvements-20080713

LICENSE IPL10

Significant improvements to README, including:

- Add documentation of (nearly) all of the configure options.
- Update the platform list to reflect current reality.
- Update the HP-UX header download instructions for the current web site.
- Fiddle with formatting and wording in a few places.

(cherry picked from commit 1ed9e36ffc34fa5ea41b72131a222d0ab8195b54)

17 years agoSTABLE14-man-page-html-index-underscores-20080713
Russ Allbery [Mon, 14 Jul 2008 03:30:55 +0000 (03:30 +0000)]
STABLE14-man-page-html-index-underscores-20080713

LICENSE BSD

Remove underscores from the anchor in the index for all section 5 manual
pages.

(cherry picked from commit 6a322e4eb7e79896e3322e0ace16a6ed99668162)

17 years agoSTABLE14-html-man-index-links-20060802
Russ Allbery [Mon, 14 Jul 2008 03:04:08 +0000 (03:04 +0000)]
STABLE14-html-man-index-links-20060802

Add links back to the index at the top and bottom of each generated page.

(cherry picked from commit b57f675bc3364c17fccc58ed56307f91213d3b3d)

17 years agoSTABLE14-man-page-html-generation-hack-20080713
Russ Allbery [Mon, 14 Jul 2008 02:56:20 +0000 (02:56 +0000)]
STABLE14-man-page-html-generation-hack-20080713

LICENSE BSD

Pod::Simple::Search ignores every POD file that doesn't "look right," which
means it skips files containing a period (like krb.conf.pod) unless you set
a search option.  Pod::Simple::HTMLBatch has no way to set search options.

Apply a truly horrible hack to get around this.

(cherry picked from commit 2a92f43987cd08dc0134b775e0d118894d22d3e5)

17 years agoSTABLE14-docs-ticket-104110-20080713
Jason Edgecombe [Mon, 14 Jul 2008 00:57:24 +0000 (00:57 +0000)]
STABLE14-docs-ticket-104110-20080713

LICENSE BSD
FIXES 104110

add krb.conf

update CellServDB to discuss AFSDB DNS records

(cherry picked from commit 298fb5ce52f3f5296c24ed1300287b5fa5870a3c)

17 years agoSTABLE14-man-page-fs-read-not-list-20080711
Jeffrey Altman [Sat, 12 Jul 2008 07:02:27 +0000 (07:02 +0000)]
STABLE14-man-page-fs-read-not-list-20080711

LICENSE MIT

 - fs diskfree
 - fs examine
 - fs listquota
 - fs quota

require read permission not list for the root directory
of the volume and list permission for the preceding path.

(cherry picked from commit df9f2455fbe34ac105179797f85aacc63a8b8da8)

17 years agoSTABLE14-solaris-nevada-vfsdev-type-20080707
Dale Ghent [Mon, 7 Jul 2008 18:16:26 +0000 (18:16 +0000)]
STABLE14-solaris-nevada-vfsdev-type-20080707

LICENSE IPL10
FIXES 105495

in nevada, struct vfsdev_v4 -> vfsdev_t. cope.

(cherry picked from commit acf76ac85f55e268e9a99d12dc89bad4b763038b)

17 years agoSTABLE14-solaris-udp-modname-20080707
Derrick Brashear [Mon, 7 Jul 2008 18:15:37 +0000 (18:15 +0000)]
STABLE14-solaris-udp-modname-20080707

LICENSE IPL10

older solaris 10 lacked this

(cherry picked from commit 078f966e6293504dc7fd0a7c6b49997b6739be71)

17 years agoSTABLE14-linux-revalidate-renames-correctly-20080707
Chas Williams [Mon, 7 Jul 2008 17:54:28 +0000 (17:54 +0000)]
STABLE14-linux-revalidate-renames-correctly-20080707

LICENSE IPL10
FIXES 74672

when renaming causes a dentry to be newer than its parent we handled it
incorrectly. zero the d_time to force correct evaluation to happen.

(cherry picked from commit 9f3629b018f9d25b205f911464789ed0a14103b4)

17 years agoSTABLE14-rhel3-disable-fedorakmod-20080707
Simon Wilkinson [Mon, 7 Jul 2008 17:42:56 +0000 (17:42 +0000)]
STABLE14-rhel3-disable-fedorakmod-20080707

LICENSE IPL10
FIXES 102673

if we're building for 2.4.x we need to disable fedorakmod. do so here in our
packaging.

(cherry picked from commit 9946c027a33b89cdf128748b9fd3000b31bee48f)

17 years agoSTABLE14-linux-probe-syscall-table-again-20080703
Benjamin Bennett [Thu, 3 Jul 2008 21:33:25 +0000 (21:33 +0000)]
STABLE14-linux-probe-syscall-table-again-20080703

LICENSE IPL10
FIXES 105457

move the init_mm ifdef down far enough that it's effective and we actually
probe to be able to hook syscall table

(cherry picked from commit a4e3fb21f0fd8f02ffd2c01b4d39ac55cd3474b1)

17 years agoSTABLE14-libuafs-fixes-20080701
Andrew Deason [Tue, 1 Jul 2008 23:28:59 +0000 (23:28 +0000)]
STABLE14-libuafs-fixes-20080701

LICENSE IPL10
FIXES 104698, 104699, 104305

make cellname get init'd right. correct startup argument order to match
what afsd does. call lookupname correctly (when did this break?)

at the same time, move the lookupname define out of afs_osi.h and into each
osi_machdep.h

(cherry picked from commit c61a8f37c9957034961aed8abc2a1adb046247d3)

17 years agoSTABLE14-redhat-build-updates-20080701
Andrew Deason [Tue, 1 Jul 2008 20:41:50 +0000 (20:41 +0000)]
STABLE14-redhat-build-updates-20080701

LICENSE IPL10
FIXES 105231

update specfile for new manpages.
update patch for 1.5.x/head
update makesrpm to quote some arguments to system so perl doesn't eat them

some rewriting from shadow@dementia.org including the patch update

(cherry picked from commit 0d343077ac1ca8bd35921de2a2b19cac4eb75496)

17 years agoSTABLE14-more-cpp-fixes-20080701
Russ Allbery [Tue, 1 Jul 2008 19:17:07 +0000 (19:17 +0000)]
STABLE14-more-cpp-fixes-20080701

LICENSE BSD

Use PATH_CPP instead of CPP everywhere and always redirect the output
instead of assuming that it will write to a file.  Hopefully this is the
least common denominator across all systems, although it still isn't
fully correct for systems that have no separate cpp binary.

(cherry picked from commit c733e2e07aeb0cc981d53d843a1ffb787f43ed64)

17 years agoSTABLE14-pt_util-database-path-20080630
Russ Allbery [Tue, 1 Jul 2008 06:59:20 +0000 (06:59 +0000)]
STABLE14-pt_util-database-path-20080630

LICENSE BSD

Use the dirpath functions to find the prdb database path in pt_util instead
of hard-coding the default Transarc path.

(cherry picked from commit 5e1459f431fc046dfd3b25aca87709193ccca211)

17 years agoSTABLE14-ubik-lwp-createprocess-64-bit-20080630
Thomas Galliano [Tue, 1 Jul 2008 04:07:27 +0000 (04:07 +0000)]
STABLE14-ubik-lwp-createprocess-64-bit-20080630

LICENSE IPL10
FIXES 104732

use NULL and not (void *)0 to avoid issues on 64 bit platforms

(cherry picked from commit e22a5cc8afe889d5d76ecf44a63860e12f1effbf)

17 years agoSTABLE14-cpp-fixes-20080630
Russ Allbery [Tue, 1 Jul 2008 00:57:44 +0000 (00:57 +0000)]
STABLE14-cpp-fixes-20080630

LICENSE BSD

When probing in configure for cpp, use the user's PATH first and then
the /lib and /usr/ccs/lib directories.  Set PATH_CPP instead of CPP,
since the latter is just overwritten by Autoconf.  Use PATH_CPP by
preference in rxgen and when pre-processing assembly, since otherwise
newer gcc will treat the input file as linker input and not do anything
with it.  Don't assume that cpp writes to the second argument; gcc
apparently doesn't always do this.  Instead, redirect standard output.

(cherry picked from commit 1ec104280d4a4b0a7544a99a7366f59cd3a2cc5f)

17 years agoSTABLE14-man-page-html-index-20080630
Russ Allbery [Tue, 1 Jul 2008 00:12:31 +0000 (00:12 +0000)]
STABLE14-man-page-html-index-20080630

LICENSE BSD

Use the correct subcommand name (fs getacl instead of fs_getacl) on the
HTML index page, even though we have to use the underscore in the NAME
section of the actual POD documentation.

(cherry picked from commit 9b61f58fa78259eb092350599a0a26d75ac14fa8)

17 years agoSTABLE14-linux-ucontext-fixes-20080630
Russ Allbery [Mon, 30 Jun 2008 21:52:22 +0000 (21:52 +0000)]
STABLE14-linux-ucontext-fixes-20080630

LICENSE BSD

Enable UCONTEXT on alpha, s390, and s390x for glibc > 2.3.  This is the
semantic backport of linux-ucontext-fixes-20080630 adjusted for the
param file reorganization.

(cherry picked from commit 9f94f89a7a894651f18947ec7ac20959f9326478)

17 years agoSTABLE14-ktc-prototypes-20080630
Russ Allbery [Mon, 30 Jun 2008 21:40:32 +0000 (21:40 +0000)]
STABLE14-ktc-prototypes-20080630

LICENSE IPL10

Expose the ktc_* prototypes on non-Windows systems.  This is a partial
backport of ktc-cleanup-20070208 from HEAD containing only the move
of the #ifdef.  (Debian Bug#449432)

17 years agoSTABLE14-bozo-find-linux-core-files-20080630
Russ Allbery [Mon, 30 Jun 2008 21:31:41 +0000 (21:31 +0000)]
STABLE14-bozo-find-linux-core-files-20080630

LICENSE BSD

Current Linux kernels always append a period and the PID to "core" when
creating core files for multithreaded processes.  Teach bosserver to scan
the directory into which core files are deposited looking for such core
files and treat them like any other core file if the PID matches the
process that just died.

This patch has been in the Debian OpenAFS packages for some time without
problems.

(cherry picked from commit d82169c51cc1d4db5de1c51dabeb1d6fe712fb79)

17 years agoSTABLE14-man-page-vos-convertROtoRW-inode-20080630
Russ Allbery [Mon, 30 Jun 2008 21:22:06 +0000 (21:22 +0000)]
STABLE14-man-page-vos-convertROtoRW-inode-20080630

LICENSE BSD

vos convertROtoRW can now be used with an inode file server.  Adjust the
man page accordingly.

(cherry picked from commit 6331d37125428956586610b8e514e1b304a16022)

17 years agoSTABLE14-man-page-readme-update-20080630
Russ Allbery [Mon, 30 Jun 2008 21:09:40 +0000 (21:09 +0000)]
STABLE14-man-page-readme-update-20080630

LICENSE BSD

Add additional missing commands to the to-do list.  Add a section on man
page section numbers and their rationale.  Document that embedding a
license in the man page isn't required if it's one of the licenses in our
LICENSE file.

(cherry picked from commit cf816d535a60a7a5f7efa5564b647ee87e33b7d7)

17 years agoSTABLE14-afs-blacklist-initialize-volume-ptr-always-20080628
Chaskiel M Grundman [Sun, 29 Jun 2008 04:39:39 +0000 (04:39 +0000)]
STABLE14-afs-blacklist-initialize-volume-ptr-always-20080628

LICENSE IPL10

always initialize this

(cherry picked from commit dff0d834a7c03d19d572d74849599ac89c2a058e)

17 years agoSTABLE14-client-idledeadtime-support-20080430
Derrick Brashear [Sun, 29 Jun 2008 04:26:03 +0000 (04:26 +0000)]
STABLE14-client-idledeadtime-support-20080430

LICENSE IPL10

in the event a server is "melting down" and not responding with data to RPCs
this adds the ability to time out the calls rather than letting keepalives
effectively hang the client forever.  does not mark the server down since...
it's not down.

Side effect: adds similar tracking for authentication errors so tokens need
not be discarded if one server's clock has drifted.

(cherry picked from commit 0a2c144307d2471450c0660e141906a1f7b1ea36)

17 years agoSTABLE14-install-and-document-klog-krb5-20080627
Russ Allbery [Sat, 28 Jun 2008 08:19:05 +0000 (08:19 +0000)]
STABLE14-install-and-document-klog-krb5-20080627

LICENSE IPL10

Install the Kerberos v5 klog as klog.krb5 and install a man page for it.

(cherry picked from commit 3b273dd55291b28c698990001370a97c413c2673)

17 years agoSTABLE14-remove-administration-reference-20080627
Russ Allbery [Sat, 28 Jun 2008 07:41:28 +0000 (07:41 +0000)]
STABLE14-remove-administration-reference-20080627

LICENSE IPL10

Purge the old AFS Administration Reference documentation.  This has now
been completely replaced by the manual pages.

(cherry picked from commit 62ffbc2a464521eeee4c244d2555c316dfae180f)

17 years agoSTABLE14-man-page-afs-fixes-20080626
Jason Edgecombe [Fri, 27 Jun 2008 05:09:09 +0000 (05:09 +0000)]
STABLE14-man-page-afs-fixes-20080626

FIXES 104745
LICENSE BSD

Fix several issues with the afs(1) man page.  Based on the patch by Jason,
but I also documented /vicepiv as the maximum, and /vicepiu as the
maximum recommended, partition.

(cherry picked from commit e381e1d07822639ba4ce00c96ff483034104afb5)

17 years agoSTABLE14-man-page-vldb_convert-20080626
Jason Edgecombe [Fri, 27 Jun 2008 05:07:09 +0000 (05:07 +0000)]
STABLE14-man-page-vldb_convert-20080626

FIXES 104192
LICENSE BSD

New man page for vldb_convert.

(cherry picked from commit d9dc7e28fe73b1e3ac2773fb1efd44e67de5e21d)

17 years agoSTABLE14-man-page-vos-clone-20080626
Jason Edgecombe [Fri, 27 Jun 2008 05:02:15 +0000 (05:02 +0000)]
STABLE14-man-page-vos-clone-20080626

FIXES 104110
LICENSE BSD

Add man page for vos clone.

(cherry picked from commit fbe10c80860ce9f456a056e0d397a10411f22369)

17 years agoSTABLE14-doc-nfs-translator-instructions-20080622
Derrick Brashear [Mon, 23 Jun 2008 04:41:45 +0000 (04:41 +0000)]
STABLE14-doc-nfs-translator-instructions-20080622

LICENSE IPL10
FIXES 103459

clarify instructions for the translator

(cherry picked from commit e5f9eba38634c2b07da1d7b20fb45cfdd772a27c)

17 years agoSTABLE14-server-meltdown-avoidance-20080509
Derrick Brashear [Fri, 20 Jun 2008 16:49:09 +0000 (16:49 +0000)]
STABLE14-server-meltdown-avoidance-20080509

LICENSE IPL10

if the server is melting down or otherwise unable to reply with data, it will
cut itself off.

(cherry picked from commit c26dc0e6aaefedc55ed5c35a5744b5c01ba39ea1)

17 years agoSTABLE14-ptserver-simple-corrupt-protection-20080612
Derrick Brashear [Thu, 12 Jun 2008 19:37:44 +0000 (19:37 +0000)]
STABLE14-ptserver-simple-corrupt-protection-20080612

LICENSE IPL10

protects against direct loops, which we have seen in the wild, but not more (yet)

(cherry picked from commit e2ce8710efc93f7172b9d4daaf685c6f2669f7c3)

17 years agoSTABLE14-volume-limit-higher-20080612
Derrick Brashear [Thu, 12 Jun 2008 18:25:03 +0000 (18:25 +0000)]
STABLE14-volume-limit-higher-20080612

LICENSE IPL10

allow more volume lookups to be cached

(cherry picked from commit bc47951c9ec0845eafe0d1634f56b761cbf8b06f)