Received: by 10.192.165.156 with SMTP id m28csp87608imm; Sun, 15 Apr 2018 17:47:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx48QdRYT9Tw462aAKM4lHdD+hY7S9c2w/pddeQIffBqCP2jM+uGashT8NVEUWoR5OhZENGqQ X-Received: by 10.98.17.75 with SMTP id z72mr3331473pfi.46.1523839635176; Sun, 15 Apr 2018 17:47:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523839635; cv=none; d=google.com; s=arc-20160816; b=KlPArJy1CycCM/HSlWxGObholKzW45g4BVDOqZjn7AtiYaH19bdJvZGr7aVC/YfCT4 qmI3RPbxezv4yEmkqTkpdteuoHC4P/SflltdJ23FMl6QUZgVXFKA3eaZMHBYV63I2CmL M0eKSY0MxhHl/0xy9DZY11uol3X9GwApoQaNP0psO8g44mcSf9dSOvXvT/4kbn2Rbk1q Ps4kQOCTQesgI6qYy2xuU/1OqA4aN1UqvmuVyMEHwv0Vh4EnVSvj/fIPbagAs7RpfmXR C5P9pVn7BtsI0s9RwhpOblH19JWTdT9irLvZuBztNMhiYAPsLj+mchre1m00I7StKGgx eorw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:cc:subject:date:to:from :arc-authentication-results; bh=e6mAZ2XBa5jbLmLyDrNHYenRnpuei/ib+xx3kgJTi/A=; b=tfD4ueq6keQQYu+y0F+0W0X6D6Tm3u6xDKsHhO0VD/WQ8ZByCnbdULwUji/VWYwSDB lMQ9goWhaeE4PxSvGI5cpdZe/5jxa5KGa/6z3yurhdsjypyBoM5/X7AM0reAZyWf0fZ7 pSiJCnbT9fqEgLUg8iBHwGE2KfcwT1cwy7rOy3iimPHb0AjSGSiaP7CsHLXDYST8MSd2 Hy/hXMIjlHq4QvJbqE3jh8Iw4eTORNp7LB7GKxv6iuy692x2qpxskH4N+UiaWfGY+2e5 q4t4EbA3oFE1by8waBgkc0xQ2nbFV42hJLz2SCpV39/ltZ48nifuIb6Ri8FvCrhKuQA9 gjtw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s3-v6si4643164plj.409.2018.04.15.17.46.27; Sun, 15 Apr 2018 17:47:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752750AbeDPAnD (ORCPT + 99 others); Sun, 15 Apr 2018 20:43:03 -0400 Received: from mx2.suse.de ([195.135.220.15]:42431 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752557AbeDPAnC (ORCPT ); Sun, 15 Apr 2018 20:43:02 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 0DAE1AC1D; Mon, 16 Apr 2018 00:43:01 +0000 (UTC) From: NeilBrown To: Oleg Drokin , Greg Kroah-Hartman , James Simmons , Andreas Dilger Date: Mon, 16 Apr 2018 10:42:37 +1000 Subject: [PATCH 0/6] staging: lustre: code rearrangement Cc: Linux Kernel Mailing List , Lustre Development List Message-ID: <152383910760.23409.2327082725637657049.stgit@noble> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series rearranges some code and manages to delete four files in the process, all from directories called "linux". This results in drivers/staging/lustre/include/linux/libcfs/linux becoming empty, so it disappears too. These patches depend on [PATCH] staging: lustre: libcfs: use dynamic minors for /dev/{lnet,obd} which James posted on 30th March. Thanks, NeilBrown --- NeilBrown (6): staging: lustre: move stack-check macros to libcfs_debug.h staging: lustre: remove libcfs/linux/libcfs.h staging: lustre: remove include/linux/libcfs/linux/linux-cpu.h staging: lustre: rearrange placement of CPU partition management code. staging: lustre: move misc-device registration closer to related code. staging: lustre: move remaining code from linux-module.c to module.c .../staging/lustre/include/linux/libcfs/libcfs.h | 48 + .../lustre/include/linux/libcfs/libcfs_cpu.h | 206 +++- .../lustre/include/linux/libcfs/libcfs_debug.h | 32 + .../lustre/include/linux/libcfs/linux/libcfs.h | 114 -- .../lustre/include/linux/libcfs/linux/linux-cpu.h | 78 - drivers/staging/lustre/lnet/libcfs/Makefile | 2 drivers/staging/lustre/lnet/libcfs/libcfs_cpu.c | 961 +++++++++++++++++- .../staging/lustre/lnet/libcfs/linux/linux-cpu.c | 1079 -------------------- .../lustre/lnet/libcfs/linux/linux-module.c | 196 ---- drivers/staging/lustre/lnet/libcfs/module.c | 162 +++ 10 files changed, 1344 insertions(+), 1534 deletions(-) delete mode 100644 drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h delete mode 100644 drivers/staging/lustre/include/linux/libcfs/linux/linux-cpu.h delete mode 100644 drivers/staging/lustre/lnet/libcfs/linux/linux-cpu.c delete mode 100644 drivers/staging/lustre/lnet/libcfs/linux/linux-module.c -- Signature