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
Land b_head_quota onto HEAD (20081116_0105)
[fs/lustre-release.git]
/
lustre
/
obdclass
/
lu_object.c
diff --git
a/lustre/obdclass/lu_object.c
b/lustre/obdclass/lu_object.c
index
42d8cf1
..
42798fb
100644
(file)
--- a/
lustre/obdclass/lu_object.c
+++ b/
lustre/obdclass/lu_object.c
@@
-1063,7
+1063,7
@@
EXPORT_SYMBOL(lu_context_key_register);
static void key_fini(struct lu_context *ctx, int index)
{
- if (ctx->lc_value[index] != NULL) {
+ if (ctx->lc_value
!= NULL && ctx->lc_value
[index] != NULL) {
struct lu_context_key *key;
key = lu_keys[index];