From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cheng Renquan Subject: [RFC] How about moving&categorizing files under fs/ into separate sub-dirs? Date: Fri, 8 Jan 2010 11:24:07 +0800 Message-ID: <91b13c311001071924n19667f65if6551c3c89f29ba3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 To: linux-fsdevel@vger.kernel.org Return-path: Received: from mail-qy0-f192.google.com ([209.85.221.192]:48129 "EHLO mail-qy0-f192.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753168Ab0AHDYI (ORCPT ); Thu, 7 Jan 2010 22:24:08 -0500 Received: by qyk30 with SMTP id 30so8760783qyk.33 for ; Thu, 07 Jan 2010 19:24:07 -0800 (PST) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Recently I am working on add a new binfmt support to linux, I think according current fs/ layout, it should be placed as fs/binfmt_new.c? but the files under fs/ are already too many, 70+, so how about we move and categorize them into different sub-dirs? like this? I created two sub-dirs, binfmt/ and vfs/, or like net/, create a net/core/, net/ is relatively clean, or some other scheme also works, this one is very primitive, # renamed: fs/binfmt_aout.c -> fs/binfmt/binfmt_aout.c # renamed: fs/binfmt_elf.c -> fs/binfmt/binfmt_elf.c # renamed: fs/binfmt_elf_fdpic.c -> fs/binfmt/binfmt_elf_fdpic.c # renamed: fs/binfmt_em86.c -> fs/binfmt/binfmt_em86.c # renamed: fs/binfmt_flat.c -> fs/binfmt/binfmt_flat.c # renamed: fs/binfmt_misc.c -> fs/binfmt/binfmt_misc.c # renamed: fs/binfmt_script.c -> fs/binfmt/binfmt_script.c # renamed: fs/binfmt_som.c -> fs/binfmt/binfmt_som.c # renamed: fs/compat_binfmt_elf.c -> fs/binfmt/compat_binfmt_elf.c # renamed: fs/exec.c -> fs/binfmt/exec.c # renamed: fs/aio.c -> fs/vfs/aio.c # renamed: fs/anon_inodes.c -> fs/vfs/anon_inodes.c # renamed: fs/attr.c -> fs/vfs/attr.c # renamed: fs/bad_inode.c -> fs/vfs/bad_inode.c # renamed: fs/bio-integrity.c -> fs/vfs/bio-integrity.c # renamed: fs/bio.c -> fs/vfs/bio.c # renamed: fs/block_dev.c -> fs/vfs/block_dev.c # renamed: fs/buffer.c -> fs/vfs/buffer.c # renamed: fs/char_dev.c -> fs/vfs/char_dev.c # renamed: fs/dcache.c -> fs/vfs/dcache.c -- Cheng Renquan, from Singapore