Whamcloud - gitweb
Revert "e2fsck: Change kmem_cache_t to lkmem_cache_t for Solaris"
authorTheodore Ts'o <tytso@mit.edu>
Tue, 12 Nov 2019 15:47:37 +0000 (10:47 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 13 Nov 2019 18:33:44 +0000 (13:33 -0500)
commit2e95a371fa4242b4d1413cd6b6a902868455d74b
tree3c517b41e00c560ef52f8f86884c3e2ed2fb51df
parent46e1286ae644df4a1340407ad945b8cc7351231b
Revert "e2fsck: Change kmem_cache_t to lkmem_cache_t for Solaris"

This is a logical revert of commit 1911bf113ef0, for which the
description reads:

    Solaris polutes the C namespace with kmem_cache_t when
    you include in/netinet.h is included, so rename kmem_cache_t
    to lkmem_cache_t.

Reverting this change allows us to keep e2fsck/revoke.c in sync with
its upstream kernel source of fs/jbd2/revoke.c, and was the last
change required to make the e2fsprogs and kernel versions of revoke.c
to be bit identical.

I've confirmed that this is no longer a problem with OmniOS (an
Illumos / Open Solaris derivative).  It may be a problem with Solaris,
but since I don't have easy access to Solaris, ¯\_(ツ)_/¯

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
contrib/jbd2-resync.sh [deleted file]
e2fsck/jfs_user.h
e2fsck/revoke.c