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-8802 obd: str2dev is missing obd_device_unlock()
[fs/lustre-release.git]
/
lustre
/
obdclass
/
genops.c
diff --git
a/lustre/obdclass/genops.c
b/lustre/obdclass/genops.c
index
ff1d7b4
..
611a8ec
100644
(file)
--- a/
lustre/obdclass/genops.c
+++ b/
lustre/obdclass/genops.c
@@
-667,6
+667,7
@@
struct obd_device *class_str2obd(const char *str)
class_incref(obd, "find", current);
break;
}
+ obd_device_unlock();
RETURN(NULL);
}
}