dm in -mm doesn't compile with CONFIG_DM_NETLINK=n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FYI this patch is needed in 2.6.22-rc6-mm1 for dm to compile
with CONFIG_DM_NETLINK=n.

NeilBrown

--------------
Allow dm to compile without CONFIG_DM_NETLINK

Signed-off-by: Neil Brown <neilb@xxxxxxx>

### Diffstat output
 ./drivers/md/dm-netlink.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff .prev/drivers/md/dm-netlink.h ./drivers/md/dm-netlink.h
--- .prev/drivers/md/dm-netlink.h	2007-07-10 12:12:46.000000000 +1000
+++ ./drivers/md/dm-netlink.h	2007-07-10 12:12:54.000000000 +1000
@@ -47,10 +47,10 @@ static inline int __init dm_netlink_init
 static inline void dm_netlink_exit(void)
 {
 }
-void inline dm_netlink_send_events(struct list_head *events)
+static void inline dm_netlink_send_events(struct list_head *events)
 {
 }
-void inline dm_path_event(enum dm_netlink_event_type evt_type,
+static void inline dm_path_event(enum dm_netlink_event_type evt_type,
 			  struct dm_table *t, const char *path,
 			  int nr_valid_paths)
 {

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

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux