1. 18 7月, 2007 1 次提交
    • C
      knfsd: exportfs: remove iget abuse · 5ca29607
      Christoph Hellwig 提交于
      When the exportfs interface was added the expectation was that filesystems
      provide an operation to convert from a file handle to an inode/dentry, but it
      kept a backwards compat option that still calls into iget.
      
      Calling into iget from non-filesystem code is very bad, because it gives too
      little information to filesystem, and simply crashes if the filesystem doesn't
      implement the ->read_inode routine.
      
      Fortunately there are only two filesystems left using this fallback: efs and
      jfs.  This patch moves a copy of export_iget to each of those to implement the
      get_dentry method.
      
      While this is a temporary increase of lines of code in the kernel it allows
      for a much cleaner interface and important code restructuring in later
      patches.
      
      [akpm@linux-foundation.org: add jfs_get_inode_flags() declaration]
      Signed-off-by: NDave Kleikamp <shaggy@linux.vnet.ibm.com>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NNeil Brown <neilb@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      5ca29607
  2. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4