Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752072AbbGaMvJ (ORCPT ); Fri, 31 Jul 2015 08:51:09 -0400 Received: from zimbra13.linbit.com ([212.69.166.240]:42050 "EHLO zimbra13.linbit.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751013AbbGaMvH (ORCPT ); Fri, 31 Jul 2015 08:51:07 -0400 From: Philipp Reisner To: Nick Wang Cc: drbd-dev@lists.linbit.com, linux-kernel@vger.kernel.org, Lars Ellenberg Subject: Re: [Drbd-dev] [Patch v2 02/10] drbd: Add option zap_devices to new-current-uuid Date: Fri, 31 Jul 2015 14:50:53 +0200 Message-ID: <1574351.c1nomEfrHy@fat-tyre> User-Agent: KMail/4.13.3 (Linux/3.16.0-30-generic; KDE/4.13.3; x86_64; ; ) In-Reply-To: <1436776744-3135-3-git-send-email-nwang@suse.com> References: <1436776744-3135-1-git-send-email-nwang@suse.com> <1436776744-3135-3-git-send-email-nwang@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 527 Lines: 17 Hi Nick, When introducing new fields alsways mark them as optional. Otherwise a new kernel/module code would refuse netlink messages from older drbd-utils: > + __flg_field(2, DRBD_GENLA_F_MANDATORY, zap_devices) __flg_field(2, /* OPTIONAL */ 0, zap_devices) best regards, Phil -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/