index
:
mdadm.git
auto-spare
devel-3.0
f8
f9
fedora-devel
for-neil
hotunplug
master
mdadm-2.6.7.x
stable-1
Official Fedora mdadm git repository cloned from upstream mdadm maintainer
Doug Ledford
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
util.c
3
1 files changed, 2 insertions, 1 deletions
diff --git a/util.c b/util.c
index 108f3c1..1ad6fd0 100644
--- a/
util.c
+++ b/
util.c
@@ -757,7 +757,8 @@ struct supertype *super_by_fd(int fd)
if (sra)
sysfs_free(sra);
- st->sb = NULL;
+ if (st)
+ st->sb = NULL;
return st;
}