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
Branch HEAD
[fs/lustre-release.git]
/
lustre
/
include
/
obd_class.h
diff --git
a/lustre/include/obd_class.h
b/lustre/include/obd_class.h
index
9802e16
..
dcd0876
100644
(file)
--- a/
lustre/include/obd_class.h
+++ b/
lustre/include/obd_class.h
@@
-1276,10
+1276,8
@@
static inline int obd_notify(struct obd_device *obd,
RETURN(-EINVAL);
}
- if (!OBP(obd, notify)) {
- CERROR("obd %s has no notify handler\n", obd->obd_name);
+ if (!OBP(obd, notify))
RETURN(-ENOSYS);
- }
OBD_COUNTER_INCREMENT(obd, notify);
RETURN(OBP(obd, notify)(obd, watched, ev, data));