• Neil Brown's avatar
    [PATCH] Fix module ref counting for md. · 340df0b5
    Neil Brown authored
    We don't need to explicitly count references as:
     - refcounting already happens for opens of /dev/md?
     -  when an array is active, a daughter module is loaded which
          locks "md" in.
    We just need to make sure we clean up properly on unload. (export_array)
    
    Also, xor needs a null module_exit so that it can be unloaded.
    340df0b5
xor.c 3.19 KB