summaryrefslogtreecommitdiff
path: root/include/linux/raid/md.h
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-09-21 02:43:02 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-09-21 02:43:02 -0700
commitbc2ce86fdce2b62a9de49c4f893de76215ee312d (patch)
tree43a9824ffda07e9722fd06c59c7d7f89214e5e25 /include/linux/raid/md.h
parent50580f89400c41a9d4b24c4e80a396a5119770ea (diff)
[PATCH] switch to add_disk()
Almost all callers of add_gendisk() were immediately followed by register_disk(disk, mk_kdev(disk->major,disk->first_minor), 1<<disk->minor_shift, disk->fops, something); The only exception (DAC960.c) massaged to that form. New helper (add_disk(disk)) introduced and aforementioned sequence replaced with set_capacity(disk, something); add_disk(disk);
Diffstat (limited to 'include/linux/raid/md.h')
0 files changed, 0 insertions, 0 deletions