LICENSE IPL10
FIXES 93871
if we can't use hlist_unhashed (which is dumb) or we don't have it (less dumb) w
ork around it.
(cherry picked from commit c761f248397334400f8b4bb71cc4d01d3e4fc6ff)
LICENSE IPL10
FIXES 88000
no better idea for this, got to do something... push this for now
(cherry picked from commit c7ee4828e0d7c631fcd827d1a4c9af8bebb2fc2d)
LICENSE IPL10
adapted from marc dionne's patch, but works more directly like the darwin port,
further, i'm guessing iget_locked will go away evewntually. maybe this is
too conservative?
(cherry picked from commit cadbebc2e50aedea01475620a3add4c315c13faa)
LICENSE IPL10
FIXES 80463
Include linux/key-type.h in osi_groups.c, if it exists. Fix
do_sync_read test for recent kbuild (maybe break it for [some older 2.6]).
(cherry picked from commit 8569f67aee8ee0de26259397818ab3af69f18007)
To prevent stripping, specify the '--disable-strip-binaries' option on
the ./configure command line. fileserver and volserver are never stripped.
When --enable-debug is specified, binaries will not be stripped by default.
(cherry picked from commit 8593c52c2787587110865287937750e51c48afa5)
FIXES 61767
1 - task_struct loses thread_info, which is now accessible through the
task_thread_info() macro. A configure test is added to deal with this.
2 - the SLAB_CTOR_VERIFY flag is gone
(cherry picked from commit 37a0b14e016af74176d714cc1b25a2af00275d56)
Background: OpenAFS is vulnerable to crashing in the linux kernel symlink
code when running on kernel versions between 2.6.10 to 2.6.12. This also
includes all RHEL4 kernels, because RHEL4 includes the code from 2.6.10. The
problem is that the symlink text caching API, page_follow_link() et al, is
unsuitable for network filesystems where the page cache may be invalidated
in parallel with a path lookup.
This crash can be triggered easily by doing a bunch of path lookups
involving symlinks (e.g., stat() on various files pointed to through links),
while simultaneously running 'fs flushvol' on the volume containing the
symlinks.
The simplest way to fix this problem is to disable the use of symlink text
caching when the kernel does not provide a usable symlink API.
(cherry picked from commit 2d18bd1777b8d18a3b855685928dcdafcbe609b8)
backport for 1.4.x
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
option to use unix socket for fssync
(cherry picked from commit a4d52ee772a84212911c52f5d79dd4f02b9a8b2a)
fix linux flock, remove a bogus lock assert, and fix pid tracking to avoid useless panic
(cherry picked from commit fd1c37ebe7f5fb2ed52371705aaf1efc7764c7eb)
FIXES 40604
Test whether Linux kernel builds work at all before going into specific
builds so that we can fail earlier with a better error message. Try to
put more errors from the kernel build into config.log.
(cherry picked from commit 182a18931a3fc696a53288dbd6fcf04e109f785b)
FIXES 39797
lockf when not locking and unlocking the whole file is fraught with peril
(cherry picked from commit 1c8080fe9dcb3713bf1231cf4b455e80c6f0c697)