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)
LICENSE IPL10
FIXES 123604
The code has long contained a backing_dev_info structure, but it
was never attached to anything. Initialize its use properly with
bdi_init, and attach it to i_mapping for every newly filled inode.
bdi_init and bdi_destroy are needed for proper initialization of
some percpu counters, otherwise we get some oopses.
(cherry picked from commit 18e78d91e78e541fce6c9295919946af0744aa7e)
LICENSE IPL10
FIXES 124093
make libuafs work with things which expect to be able to use native file
sizes etc
(cherry picked from commit 47ac8ba7022e80e5bc0023782b6b27d5ac97ccd3)
LICENSE IPL10
FIXES 124094
avoid a race during truncation which trips an issue when fsx is run
(cherry picked from commit f49bf1d919b48901533da78c9fe38ca0339b7bca)
LICENSE IPL10
FIXES 124077
the undefs for things which are not ac macros ended up outside the ac verbatim
blob. fix it.
(cherry picked from commit 2d07a62c38fea642d52c20ff86e8f72e3c16bbe0)
LICENSE IPL10
FIXES 118058
fix the quoting and remove the tests we shouldn't need anymore
(cherry picked from commit bc9c0a14154639d8e45554a3abeb867af9a8d0b2)
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)