From patchwork Fri Jun 15 22:27:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Konopko X-Patchwork-Id: 10467767 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EFD8D60384 for ; Fri, 15 Jun 2018 22:27:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2EFB28E95 for ; Fri, 15 Jun 2018 22:27:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7BF528EA4; Fri, 15 Jun 2018 22:27:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 834B828E95 for ; Fri, 15 Jun 2018 22:27:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756611AbeFOW1a (ORCPT ); Fri, 15 Jun 2018 18:27:30 -0400 Received: from mga12.intel.com ([192.55.52.136]:38380 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756429AbeFOW13 (ORCPT ); Fri, 15 Jun 2018 18:27:29 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jun 2018 15:27:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,228,1526367600"; d="scan'208";a="57849605" Received: from gklab-106-154.igk.intel.com ([10.102.106.154]) by fmsmga002.fm.intel.com with ESMTP; 15 Jun 2018 15:27:27 -0700 From: Igor Konopko To: mb@lightnvm.io, javier@cnexlabs.com Cc: linux-block@vger.kernel.org, michal.sorn@intel.com, marcin.dziegielewski@intel.com, igor.j.konopko@intel.com Subject: [PATCH 2/5] lightnvm: pblk: Remove resv field for sec meta Date: Sat, 16 Jun 2018 00:27:03 +0200 Message-Id: <20180615222706.3801-3-igor.j.konopko@intel.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180615222706.3801-1-igor.j.konopko@intel.com> References: <20180615222706.3801-1-igor.j.konopko@intel.com> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since we have flexible size of pblk_sec_meta which depends on drive metadata size we can remove not needed reserved field from that structure Signed-off-by: Igor Konopko --- drivers/lightnvm/pblk.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/lightnvm/pblk.h b/drivers/lightnvm/pblk.h index f82c3a0b0de5..27658dc6fc1a 100644 --- a/drivers/lightnvm/pblk.h +++ b/drivers/lightnvm/pblk.h @@ -82,7 +82,6 @@ enum { }; struct pblk_sec_meta { - u64 reserved; __le64 lba; };