1. 15 9月, 2007 3 次提交
    • N
      Correctly close old nfsd/lockd sockets. · 7a1fa065
      Neil Brown 提交于
      Commit aaf68cfb added a bias
      to sk_inuse, so this test for an unused socket now fails.  So no
      sockets get closed because they are old (they might get closed
      if the client closed them).
      
      This bug has existed since 2.6.21-rc1.
      
      Thanks to Wolfgang Walter for finding and reporting the bug.
      
      Cc: Wolfgang Walter <wolfgang.walter@studentenwerk.mhn.de>
      Signed-off-by: NNeil Brown <neilb@suse.de>
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      7a1fa065
    • A
      Fix kernel buuild with (CONFIG_COMPAT && ! CONFIG_BLOCK) · 2123a09f
      aherrman@arcor.de 提交于
      Commit 02a5e0ac ("BLOCK: Hide the
      contents of linux/bio.h if CONFIG_BLOCK=n") broke the kernel build for
      the CONFIG_COMPAT && !CONFIG_BLOCK case:
      
          CC      fs/compat_ioctl.o
        In file included from include/linux/raid/md_k.h:19,
                         from include/linux/raid/md.h:54,
                         from fs/compat_ioctl.c:25:
        include/linux/raid/../../../drivers/md/dm-bio-list.h: In bio_list_:
        include/linux/raid/../../../drivers/md/dm-bio-list.h:40: error: dereferencing pointer to incomplete type
        include/linux/raid/../../../drivers/md/dm-bio-list.h: In bio_list_:
        include/linux/raid/../../../drivers/md/dm-bio-list.h:48: error: dereferencing pointer to incomplete type
        include/linux/raid/../../../drivers/md/dm-bio-list.h:51: error: dereferencing pointer to incomplete type
        include/linux/raid/../../../drivers/md/dm-bio-list.h: In bio_list_:
        include/linux/raid/../../../drivers/md/dm-bio-list.h:64: error: dereferencing pointer to incomplete type
        include/linux/raid/../../../drivers/md/dm-bio-list.h: In bio_list_merge_:
        include/linux/raid/../../../drivers/md/dm-bio-list.h:78: error: dereferencing pointer to incomplete type
        include/linux/raid/../../../drivers/md/dm-bio-list.h: In bio_list_:
        include/linux/raid/../../../drivers/md/dm-bio-list.h:90: error: dereferencing pointer to incomplete type
        include/linux/raid/../../../drivers/md/dm-bio-list.h:94: error: dereferencing pointer to incomplete type
        make[1]: *** [fs/compat_ioctl.o] Error 1
        make: *** [fs] Error 2
      Signed-off-by: NAndreas Herrmann <aherrman@arcor.de>
      Acked-By: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2123a09f
    • N
      shared tag queue barrier comment · dd941252
      Nick Piggin 提交于
      Should add some comments for the tag barriers (they won't be so important
      if we can switch over to the explicit _lock bitops, but for now we should
      make it clear).
      
      Jens' original patch said a barrier after the test_and_clear_bit was also
      required. I can't see why (and it would prevent the use of the _lock bitop).
      Acked-by: NJens Axboe <jens.axboe@oracle.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      --
      dd941252
  2. 13 9月, 2007 15 次提交
  3. 12 9月, 2007 22 次提交