linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [mdadm PATCH 0/2] unify stat and fstat into functions
@ 2017-05-02  3:26 Zhilong Liu
  2017-05-02  3:26 ` [mdadm PATCH 1/2] util: unify fstat operations into function Zhilong Liu
  2017-05-02  3:26 ` [mdadm PATCH 2/2] util: unify stat " Zhilong Liu
  0 siblings, 2 replies; 5+ messages in thread
From: Zhilong Liu @ 2017-05-02  3:26 UTC (permalink / raw)
  To: Jes.Sorensen; +Cc: linux-raid, Zhilong Liu

Hi, Jes;

This two patches mainly unified the stat and fstat operations,
declare new function for them and decrease the repeated codes.
Also fix one bug in WaitClean(), it forgot to check the block
device.

Thanks,
Zhilong

Zhilong Liu (2):
  util: unify fstat operations into function
  util: unify stat operations into function

 Assemble.c    | 24 +++++++-----------------
 Build.c       | 30 +++++++-----------------------
 Create.c      | 23 ++++++++++-------------
 Grow.c        | 10 ++++------
 Incremental.c | 52 +++++++++++++++-------------------------------------
 Manage.c      | 13 ++-----------
 Monitor.c     | 16 ++++------------
 bitmap.c      | 10 +---------
 mdadm.h       |  2 ++
 super-ddf.c   | 10 ++++------
 super-intel.c | 23 +++++++----------------
 util.c        | 34 ++++++++++++++++++++++++++++++++++
 12 files changed, 97 insertions(+), 150 deletions(-)

-- 
2.10.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-02 13:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-02  3:26 [mdadm PATCH 0/2] unify stat and fstat into functions Zhilong Liu
2017-05-02  3:26 ` [mdadm PATCH 1/2] util: unify fstat operations into function Zhilong Liu
2017-05-02 13:50   ` Jes Sorensen
2017-05-02  3:26 ` [mdadm PATCH 2/2] util: unify stat " Zhilong Liu
2017-05-02 13:50   ` Jes Sorensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).