1. 14 Sep, 2007 2 commits
    • aherrman@arcor.de's avatar
      Fix kernel buuild with (CONFIG_COMPAT && ! CONFIG_BLOCK) · 2123a09f
      aherrman@arcor.de authored
      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: default avatarAndreas Herrmann <aherrman@arcor.de>
      Acked-By: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2123a09f
    • Nick Piggin's avatar
      shared tag queue barrier comment · dd941252
      Nick Piggin authored
      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: default avatarJens Axboe <jens.axboe@oracle.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      --
      dd941252
  2. 13 Sep, 2007 7 commits
  3. 12 Sep, 2007 31 commits