Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#5 [PATCH] actually call ataSmartEnable()

open
nobody
None
5
2002-07-02
2002-07-02
Anonymous
No

Following is a patch that modifies smartd so that
ataSmartEnable is actually called. In the current code
the function is erroneously dereferenced instead of
called, so it 'succeeds' because the function address
is non-NULL but ataSmartEnable is never actually
performed. I'm no SMART expert, but I'd question the
necessity of this call-- smartctl can toggle the
enable/disable option and perhaps smartd ought to have
a 'force' option to override the default set in the
device, otherwise honor the drive settting.

Discussion

  • Patch to call ataSmartEnable instead of dereferencing it