1. 06 5月, 2005 29 次提交
  2. 04 5月, 2005 1 次提交
  3. 03 5月, 2005 6 次提交
  4. 01 5月, 2005 4 次提交
    • M
      [PATCH] DocBook: fix some descriptions · 67be2dd1
      Martin Waitz 提交于
      Some KernelDoc descriptions are updated to match the current code.
      No code changes.
      Signed-off-by: NMartin Waitz <tali@admingilde.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      67be2dd1
    • P
      [PATCH] DocBook: changes and extensions to the kernel documentation · 4dc3b16b
      Pavel Pisa 提交于
      I have recompiled Linux kernel 2.6.11.5 documentation for me and our
      university students again.  The documentation could be extended for more
      sources which are equipped by structured comments for recent 2.6 kernels.  I
      have tried to proceed with that task.  I have done that more times from 2.6.0
      time and it gets boring to do same changes again and again.  Linux kernel
      compiles after changes for i386 and ARM targets.  I have added references to
      some more files into kernel-api book, I have added some section names as well.
       So please, check that changes do not break something and that categories are
      not too much skewed.
      
      I have changed kernel-doc to accept "fastcall" and "asmlinkage" words reserved
      by kernel convention.  Most of the other changes are modifications in the
      comments to make kernel-doc happy, accept some parameters description and do
      not bail out on errors.  Changed <pid> to @pid in the description, moved some
      #ifdef before comments to correct function to comments bindings, etc.
      
      You can see result of the modified documentation build at
        http://cmp.felk.cvut.cz/~pisa/linux/lkdb-2.6.11.tar.gz
      
      Some more sources are ready to be included into kernel-doc generated
      documentation.  Sources has been added into kernel-api for now.  Some more
      section names added and probably some more chaos introduced as result of quick
      cleanup work.
      Signed-off-by: NPavel Pisa <pisa@cmp.felk.cvut.cz>
      Signed-off-by: NMartin Waitz <tali@admingilde.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4dc3b16b
    • M
      [PATCH] ext3: remove unnecessary race then retry in ext3_get_block · fe55c452
      Mingming Cao 提交于
      The extra race-with-truncate-then-retry logic around
      ext3_get_block_handle(), which was inherited from ext2, becomes unecessary
      for ext3, since we have already obtained the ei->truncate_sem in
      ext3_get_block_handle() before calling ext3_alloc_branch().  The
      ei->truncate_sem is already there to block concurrent truncate and block
      allocation on the same inode.  So the inode's indirect addressing tree
      won't be changed after we grab that semaphore.
      
      We could, after get the semaphore, re-verify the branch is up-to-date or
      not.  If it has been changed, then get the updated branch.  If we still
      need block allocation, we will have a safe version of the branch to work
      with in the ext3_find_goal()/ext3_splice_branch().
      
      The code becomes more readable after remove those retry logic.  The patch
      also clean up some gotos in ext3_get_block_handle() to make it more
      readable.
      Signed-off-by: NMingming Cao <cmm@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      fe55c452
    • A
      [PATCH] reiserfs endianness: comp_short_keys() cleanup · 6b9f5829
      Al Viro 提交于
      comp_short_keys() massaged into sane form, which kills the last place where
      pointer to in_core_key (or any object containing such) would be cast to or
      from something else.  At that point we are free to change layout of
      in_core_key - nothing depends on it anymore.
      
      So we drop the mess with union in there and simply use (unconditional) __u64
      k_offset and __u8 k_type instead; places using in_core_key switched to those.
      That gives _far_ better code than current mess - on all platforms.
      Signed-off-by: NAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
      Cc: <reiserfs-dev@namesys.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      6b9f5829