Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-7091 mdd: refresh nlink after update linkea
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
nrs_orr.c
diff --git
a/lustre/ptlrpc/nrs_orr.c
b/lustre/ptlrpc/nrs_orr.c
index
3a949a4
..
97be950
100644
(file)
--- a/
lustre/ptlrpc/nrs_orr.c
+++ b/
lustre/ptlrpc/nrs_orr.c
@@
-693,10
+693,8
@@
static int nrs_orr_start(struct ptlrpc_nrs_policy *policy, char *arg)
RETURN(rc);
failed:
- if (orrd->od_cache)
{
+ if (orrd->od_cache)
kmem_cache_destroy(orrd->od_cache);
- LASSERTF(rc == 0, "Could not destroy od_cache slab\n");
- }
if (orrd->od_binheap != NULL)
cfs_binheap_destroy(orrd->od_binheap);