Neil Brown: Allow metadata handlers to free their own superblock.

Martin F. Krafft madduck at alioth.debian.org
Tue Apr 29 18:28:49 UTC 2008


Module: mdadm
Branch: master
Commit: df37ffc0393b919ba5607bb48b2eaf2f9a1832d7
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commit;h=df37ffc0393b919ba5607bb48b2eaf2f9a1832d7

Author: Neil Brown <neilb at suse.de>
Date:   Fri Dec 14 20:14:00 2007 +1100

Allow metadata handlers to free their own superblock.

As the metadata handler allocates the superblock, it should free it
too.  DDF will have a more complex 'superblock' which needs more complex
freeing.

---

 Assemble.c    |   62 +++++++++++++++++++++++---------------------------------
 Create.c      |    4 +-
 Detail.c      |    4 ++-
 Examine.c     |    6 ++--
 Grow.c        |   11 ++++++---
 Incremental.c |   12 +++++-----
 Kill.c        |    2 +-
 mdadm.h       |    1 +
 super0.c      |    7 ++++++
 super1.c      |    7 ++++++
 util.c        |    2 +-
 11 files changed, 64 insertions(+), 54 deletions(-)

Diff:   http://git.debian.org/?p=pkg-mdadm/mdadm.git/?a=commitdiff;h=df37ffc0393b919ba5607bb48b2eaf2f9a1832d7



More information about the pkg-mdadm-commits mailing list