summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f64e9f1)
Files that are not used to handle various kernel verisons are
promoted out of the linux directory. Loosely based on
Linux-commit:
f72c3ab791ac0b2b75b5b5d4d51d8eb89ea1e515
This bring us more into sync with linux lustre client.
Change-Id: I4aad42671de14b4e5ca0743d2126363c829b0d74
Test-Parameters: trivial
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/37191
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.super@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
EXTRA_DIST = linux-misc.h linux-fs.h linux-mem.h linux-time.h linux-cpu.h \
EXTRA_DIST = linux-misc.h linux-fs.h linux-mem.h linux-time.h linux-cpu.h \
- linux-list.h linux-hash.h linux-uuid.h linux-crypto.h linux-wait.h \
+ linux-list.h linux-hash.h linux-uuid.h linux-wait.h \
linux-refcount.h processor.h
linux-refcount.h processor.h
-libcfs-linux-objs := linux-tracefile.o linux-debug.o
-libcfs-linux-objs += linux-prim.o
+libcfs-linux-objs := linux-prim.o
libcfs-linux-objs += linux-curproc.o
libcfs-linux-objs += linux-hash.o
libcfs-linux-objs += linux-curproc.o
libcfs-linux-objs += linux-hash.o
-libcfs-linux-objs += linux-crypto.o linux-crypto-adler.o
libcfs-linux-objs += linux-wait.o
default: all
libcfs-linux-objs += linux-wait.o
default: all
libcfs-linux-objs := $(addprefix linux/,$(libcfs-linux-objs))
libcfs-all-objs := debug.o fail.o module.o tracefile.o \
libcfs-linux-objs := $(addprefix linux/,$(libcfs-linux-objs))
libcfs-all-objs := debug.o fail.o module.o tracefile.o \
- libcfs_string.o hash.o \
+ libcfs_string.o hash.o heap.o \
workitem.o libcfs_cpu.o \
workitem.o libcfs_cpu.o \
- libcfs_mem.o libcfs_lock.o heap.o
+ libcfs_mem.o libcfs_lock.o \
+ linux-crypto.o linux-crypto-adler.o \
+ linux-debug.o linux-tracefile.o
libcfs-objs := $(libcfs-linux-objs) $(libcfs-all-objs)
libcfs-objs := $(libcfs-linux-objs) $(libcfs-all-objs)
-MOSTLYCLEANFILES := @MOSTLYCLEANFILES@ linux-*.c linux/*.o libcfs
+MOSTLYCLEANFILES := @MOSTLYCLEANFILES@ linux/*.o libcfs
EXTRA_DIST := $(libcfs-all-objs:%.o=%.c) tracefile.h \
workitem.c fail.c libcfs_cpu.c \
EXTRA_DIST := $(libcfs-all-objs:%.o=%.c) tracefile.h \
workitem.c fail.c libcfs_cpu.c \
- heap.c libcfs_mem.c libcfs_lock.c
+ heap.c libcfs_mem.c libcfs_lock.c \
+ linux-crypto.h
#include <linux/module.h>
#include <linux/zutil.h>
#include <linux/module.h>
#include <linux/zutil.h>
-#include <libcfs/linux/linux-crypto.h>
#include <crypto/internal/hash.h>
#include <crypto/internal/hash.h>
+#include "linux-crypto.h"
#define CHKSUM_BLOCK_SIZE 1
#define CHKSUM_DIGEST_SIZE 4
#define CHKSUM_BLOCK_SIZE 1
#define CHKSUM_DIGEST_SIZE 4
#include <linux/pagemap.h>
#include <libcfs/libcfs.h>
#include <libcfs/libcfs_crypto.h>
#include <linux/pagemap.h>
#include <libcfs/libcfs.h>
#include <libcfs/libcfs_crypto.h>
-#include <libcfs/linux/linux-crypto.h>
+#include "linux-crypto.h"
#ifndef HAVE_CRYPTO_HASH_HELPERS
static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm)
#ifndef HAVE_CRYPTO_HASH_HELPERS
static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm)
-EXTRA_DIST = linux-debug.c linux-prim.c linux-tracefile.c \
- linux-curproc.c linux-hash.c linux-wait.c\
- linux-crypto.c linux-crypto-adler.c
+EXTRA_DIST = linux-prim.c \
+ linux-curproc.c \
+ linux-hash.c \
+ linux-wait.c
#define DEBUG_SUBSYSTEM S_SEC
#define DEBUG_SUBSYSTEM S_SEC
-#include <libcfs/linux/linux-crypto.h>
#include <obd.h>
#include <obd_support.h>
#include <obd.h>
#include <obd_support.h>