Merge branch 'for-3.2/drivers' of git://git.kernel.dk/linux-block
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 5 Nov 2011 00:22:14 +0000 (17:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 5 Nov 2011 00:22:14 +0000 (17:22 -0700)
* 'for-3.2/drivers' of git://git.kernel.dk/linux-block: (30 commits)
  virtio-blk: use ida to allocate disk index
  hpsa: add small delay when using PCI Power Management to reset for kump
  cciss: add small delay when using PCI Power Management to reset for kump
  xen/blkback: Fix two races in the handling of barrier requests.
  xen/blkback: Check for proper operation.
  xen/blkback: Fix the inhibition to map pages when discarding sector ranges.
  xen/blkback: Report VBD_WSECT (wr_sect) properly.
  xen/blkback: Support 'feature-barrier' aka old-style BARRIER requests.
  xen-blkfront: plug device number leak in xlblk_init() error path
  xen-blkfront: If no barrier or flush is supported, use invalid operation.
  xen-blkback: use kzalloc() in favor of kmalloc()+memset()
  xen-blkback: fixed indentation and comments
  xen-blkfront: fix a deadlock while handling discard response
  xen-blkfront: Handle discard requests.
  xen-blkback: Implement discard requests ('feature-discard')
  xen-blkfront: add BLKIF_OP_DISCARD and discard request struct
  drivers/block/loop.c: remove unnecessary bdev argument from loop_clr_fd()
  drivers/block/loop.c: emit uevent on auto release
  drivers/block/cpqarray.c: use pci_dev->revision
  loop: always allow userspace partitions and optionally support automatic scanning
  ...

Fic up trivial header file includsion conflict in drivers/block/loop.c

1  2 
block/genhd.c
drivers/block/loop.c
drivers/block/xen-blkback/blkback.c
drivers/block/xen-blkback/common.h
drivers/block/xen-blkback/xenbus.c
drivers/block/xen-blkfront.c
drivers/scsi/hpsa.c
fs/block_dev.c
include/linux/genhd.h
include/linux/loop.h

diff --cc block/genhd.c
Simple merge
index c77983ea86c8798a35605206e35266087f764809,9b2f5d3c19abc96c1c594dd6d247140c64728086..3d806820280e3bc4aaa5e81d6bea411f6597e400
  #include <linux/kthread.h>
  #include <linux/splice.h>
  #include <linux/sysfs.h>
 +#include <linux/miscdevice.h>
+ #include <linux/falloc.h>
  #include <asm/uaccess.h>
  
 -static LIST_HEAD(loop_devices);
 -static DEFINE_MUTEX(loop_devices_mutex);
 +static DEFINE_IDR(loop_index_idr);
 +static DEFINE_MUTEX(loop_index_mutex);
  
  static int max_part;
  static int part_shift;
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc fs/block_dev.c
Simple merge
Simple merge
index a06880689115ded34b73c39443004638635f2d3b,4367fc507fe916e1559c7050e24601778a18422c..11a41a8f08eb9e98cb1105982d093c3d075d5206
@@@ -73,7 -74,9 +73,8 @@@ struct loop_device 
   */
  enum {
        LO_FLAGS_READ_ONLY      = 1,
 -      LO_FLAGS_USE_AOPS       = 2,
        LO_FLAGS_AUTOCLEAR      = 4,
+       LO_FLAGS_PARTSCAN       = 8,
  };
  
  #include <asm/posix_types.h>  /* for __kernel_old_dev_t */