]> git.ipfire.org Git - thirdparty/mdadm.git/commit - monitor.c
mdmon: cleanup resync_start
authorDan Williams <dan.j.williams@intel.com>
Mon, 14 Dec 2009 19:57:55 +0000 (12:57 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 14 Dec 2009 19:57:55 +0000 (12:57 -0700)
commitb7941fd68de046be58de4d53fe08925fdb9008f0
treed2ec919476da339a8e934192135b90f06f927eb5
parent071cfc42580673b149140339a862f90399dc00b5
mdmon: cleanup resync_start

We don't need to sprinkle reads of this attribute all over the place,
just once at the entry of read_and_act().  Also, the mdinfo structure
for the array already has a 'resync_start' member, so just reuse that.
Finally, rename get_resync_start() to read_resync_start to make it
consistent with the other sysfs accessors in monitor.c.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
managemon.c
mdmon.h
monitor.c
super-ddf.c
super-intel.c