unsigned int cc_early_expire:1;
unsigned long cc_flags;
struct vfs_cred cc_vcred;
- cfs_spinlock_t cc_lock;
+ spinlock_t cc_lock;
cfs_list_t cc_req_list; /* waiting reqs linked here */
cfs_list_t cc_gc_chain; /* linked to gc chain */
};
unsigned int ps_dying:1;
/** owning import */
struct obd_import *ps_import;
- cfs_spinlock_t ps_lock;
+ spinlock_t ps_lock;
/*
* garbage collection
BULK_HASH_ALG_MAX
};
-struct sptlrpc_hash_type {
- char *sht_name;
- char *sht_tfm_name;
- unsigned int sht_size;
-};
-
-const struct sptlrpc_hash_type *sptlrpc_get_hash_type(__u8 hash_alg);
const char * sptlrpc_get_hash_name(__u8 hash_alg);
__u8 sptlrpc_get_hash_alg(const char *algname);