Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752448AbcLJSI3 (ORCPT ); Sat, 10 Dec 2016 13:08:29 -0500 Received: from [160.91.203.11] ([160.91.203.11]:59472 "EHLO smtp2.ccs.ornl.gov" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752319AbcLJSI2 (ORCPT ); Sat, 10 Dec 2016 13:08:28 -0500 From: James Simmons To: Greg Kroah-Hartman , devel@driverdev.osuosl.org, Andreas Dilger , Oleg Drokin Cc: Linux Kernel Mailing List , Lustre Development List , Ben Evans , James Simmons Subject: [PATCH v2 3/5] staging: lustre: headers: sort headers affected by obdo move Date: Sat, 10 Dec 2016 13:05:59 -0500 Message-Id: <1481393161-22623-4-git-send-email-jsimmons@infradead.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1481393161-22623-1-git-send-email-jsimmons@infradead.org> References: <1481393161-22623-1-git-send-email-jsimmons@infradead.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2100 Lines: 63 From: Ben Evans It was found if you sort the headers alphabetically that it reduced patch conflicts. This patch sorts the headers alphabetically and also place linux header first, then uapi header and finally the lustre kernel headers. Signed-off-by: Ben Evans Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6401 Reviewed-on: http://review.whamcloud.com/16917 Reviewed-on: http://review.whamcloud.com/19266 Reviewed-by: James Simmons Reviewed-by: Andreas Dilger Reviewed-by: John L. Hammond Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --- Changelog: v1) Initial patch v2) rebase patch against newer base patch that now includes lustre_obdo.h in osc_request.c. drivers/staging/lustre/lustre/osc/osc_request.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/staging/lustre/lustre/osc/osc_request.c b/drivers/staging/lustre/lustre/osc/osc_request.c index 99aefa5..0273ccd 100644 --- a/drivers/staging/lustre/lustre/osc/osc_request.c +++ b/drivers/staging/lustre/lustre/osc/osc_request.c @@ -34,20 +34,21 @@ #include "../../include/linux/libcfs/libcfs.h" -#include "../include/lustre_dlm.h" -#include "../include/lustre_net.h" +#include "../include/lustre/lustre_ioctl.h" #include "../include/lustre/lustre_user.h" -#include "../include/obd_cksum.h" -#include "../include/lustre_ha.h" #include "../include/lprocfs_status.h" -#include "../include/lustre/lustre_ioctl.h" #include "../include/lustre_debug.h" +#include "../include/lustre_dlm.h" +#include "../include/lustre_fid.h" +#include "../include/lustre_ha.h" +#include "../include/lustre_net.h" #include "../include/lustre_obdo.h" #include "../include/lustre_param.h" -#include "../include/lustre_fid.h" -#include "../include/obd_class.h" #include "../include/obd.h" +#include "../include/obd_cksum.h" +#include "../include/obd_class.h" + #include "osc_internal.h" #include "osc_cl_internal.h" -- 1.8.3.1