Skip to content

Commit 1a6a050

Browse files
author
Christoph Hellwig
committed
md: remove the kernel version of md_u.h
mdp_major can just move to drivers/md/md.h. Signed-off-by: Christoph Hellwig <[email protected]> Acked-by: Song Liu <[email protected]> Acked-by: Linus Torvalds <[email protected]>
1 parent a1d6bc0 commit 1a6a050

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

drivers/md/md.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,7 @@ static inline void mddev_check_write_zeroes(struct mddev *mddev, struct bio *bio
801801
mddev->queue->limits.max_write_zeroes_sectors = 0;
802802
}
803803

804+
extern int mdp_major;
804805
void md_autostart_arrays(int part);
805806

806807
#endif /* _MD_MD_H */

include/linux/raid/md_u.h

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)