diff mbox

md: rename some drivers/md/ files to have an "md-" prefix

Message ID 20171011195339.7fmr64sc4dv7etdw@kernel.org (mailing list archive)
State Accepted, archived
Delegated to: Mike Snitzer
Headers show

Commit Message

Shaohua Li Oct. 11, 2017, 7:53 p.m. UTC
On Tue, Oct 10, 2017 at 07:55:35PM -0400, Mike Snitzer wrote:
> On Tue, Oct 10 2017 at  5:29pm -0400,
> Shaohua Li <shli@kernel.org> wrote:
> 
> > On Tue, Oct 10, 2017 at 05:02:41PM -0400, Mike Snitzer wrote:
> > > Motivated by the desire to illiminate the imprecise nature of
> > > DM-specific patches being unnecessarily sent to both the MD maintainer
> > > and mailing-list.  Which is born out of the fact that DM files also
> > > reside in drivers/md/
> > > 
> > > Now all MD-specific files in drivers/md/ start with either "raid" or
> > > "md-" and the MAINTAINERS file has been updated accordingly.
> > > 
> > > Signed-off-by: Mike Snitzer <snitzer@redhat.com>
> > 
> > Good idea! Assume I take this?
> 
> Yes, please do.

I'm going to fold this patch into your original one, we'd better not change the
module name.


commit 3c54b480012281ee1d605c93df3c2a71a2bd2c29
Author: Shaohua Li <shli@fb.com>
Date:   Wed Oct 11 12:46:46 2017 -0700

    MD: don't change module name
    
    Signed-off-by: Shaohua Li <shli@fb.com>


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

Comments

Mike Snitzer Oct. 11, 2017, 8:17 p.m. UTC | #1
On Wed, Oct 11 2017 at  3:53pm -0400,
Shaohua Li <shli@kernel.org> wrote:

> On Tue, Oct 10, 2017 at 07:55:35PM -0400, Mike Snitzer wrote:
> > On Tue, Oct 10 2017 at  5:29pm -0400,
> > Shaohua Li <shli@kernel.org> wrote:
> > 
> > > On Tue, Oct 10, 2017 at 05:02:41PM -0400, Mike Snitzer wrote:
> > > > Motivated by the desire to illiminate the imprecise nature of
> > > > DM-specific patches being unnecessarily sent to both the MD maintainer
> > > > and mailing-list.  Which is born out of the fact that DM files also
> > > > reside in drivers/md/
> > > > 
> > > > Now all MD-specific files in drivers/md/ start with either "raid" or
> > > > "md-" and the MAINTAINERS file has been updated accordingly.
> > > > 
> > > > Signed-off-by: Mike Snitzer <snitzer@redhat.com>
> > > 
> > > Good idea! Assume I take this?
> > 
> > Yes, please do.
> 
> I'm going to fold this patch into your original one, we'd better not change the
> module name.

OK, good catch.

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
diff mbox

Patch

diff --git a/drivers/md/Makefile b/drivers/md/Makefile
index d8e5f9cdb3ad..693602ffdd38 100644
--- a/drivers/md/Makefile
+++ b/drivers/md/Makefile
@@ -21,19 +21,22 @@  dm-verity-y	+= dm-verity-target.o
 md-mod-y	+= md.o md-bitmap.o
 raid456-y	+= raid5.o raid5-cache.o raid5-ppl.o
 dm-zoned-y	+= dm-zoned-target.o dm-zoned-metadata.o dm-zoned-reclaim.o
+linear-y	+= md-linear.o
+multipath-y	+= md-multipath.o
+faulty-y	+= md-faulty.o
 
 # Note: link order is important.  All raid personalities
 # and must come before md.o, as they each initialise 
 # themselves, and md.o may use the personalities when it 
 # auto-initialised.
 
-obj-$(CONFIG_MD_LINEAR)		+= md-linear.o
+obj-$(CONFIG_MD_LINEAR)		+= linear.o
 obj-$(CONFIG_MD_RAID0)		+= raid0.o
 obj-$(CONFIG_MD_RAID1)		+= raid1.o
 obj-$(CONFIG_MD_RAID10)		+= raid10.o
 obj-$(CONFIG_MD_RAID456)	+= raid456.o
-obj-$(CONFIG_MD_MULTIPATH)	+= md-multipath.o
-obj-$(CONFIG_MD_FAULTY)		+= md-faulty.o
+obj-$(CONFIG_MD_MULTIPATH)	+= multipath.o
+obj-$(CONFIG_MD_FAULTY)		+= faulty.o
 obj-$(CONFIG_MD_CLUSTER)	+= md-cluster.o
 obj-$(CONFIG_BCACHE)		+= bcache/
 obj-$(CONFIG_BLK_DEV_MD)	+= md-mod.o