projects
/
platform
/
upstream
/
udisks2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9937d6
)
only consider Prefail attibutes when checking for bad attributes
author
David Zeuthen
<davidz@redhat.com>
Fri, 1 May 2009 21:54:12 +0000
(17:54 -0400)
committer
David Zeuthen
<davidz@redhat.com>
Fri, 1 May 2009 21:54:12 +0000
(17:54 -0400)
src/devkit-disks-device.c
patch
|
blob
|
history
diff --git
a/src/devkit-disks-device.c
b/src/devkit-disks-device.c
index
044a0bd
..
0036dac
100644
(file)
--- a/
src/devkit-disks-device.c
+++ b/
src/devkit-disks-device.c
@@
-7167,7
+7167,7
@@
ata_smart_collect_attrs (SkDisk *d, const SkSmartAttributeParsedData *a, void *u
15, raw_data,
G_MAXUINT);
- if (!a->good)
+ if (!a->good
&& a->good_valid && a->prefailure
)
data->has_bad_attributes = TRUE;
g_ptr_array_add (data->attributes, g_value_get_boxed (&elem));