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-2887 tests: disable SLOW for ZFS in parallel-scale
[fs/lustre-release.git]
/
lustre
/
osp
/
lproc_osp.c
diff --git
a/lustre/osp/lproc_osp.c
b/lustre/osp/lproc_osp.c
index
dad0b8d
..
22e3372
100644
(file)
--- a/
lustre/osp/lproc_osp.c
+++ b/
lustre/osp/lproc_osp.c
@@
-402,6
+402,9
@@
static int osp_rd_destroys_in_flight(char *page, char **start, off_t off,
struct obd_device *dev = data;
struct osp_device *osp = lu2osp_dev(dev->obd_lu_dev);
+ if (osp == NULL)
+ return -EINVAL;
+
/*
* This counter used to determine if OST has space returned.
* Now we need to wait for the following: