]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
Merge branch 'scsi-target-for-v4.10' of git://git.kernel.org/pub/scm/linux/kernel...
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 21 Dec 2016 18:16:05 +0000 (10:16 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 21 Dec 2016 18:16:05 +0000 (10:16 -0800)
Pull scsi target cleanups from Bart Van Assche:
 "The changes here are:

   - a few small bug fixes for the iSCSI and user space target drivers.

   - minimize the target build time by about 30% by rearranging #include
     directives

   - fix the second argument passed to percpu_ida_alloc()

   - reduce the number of false positive warnings reported by sparse

  These patches pass Wu Fengguang's build bot tests and also the
  linux-next tests"

* 'scsi-target-for-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/bvanassche/linux:
  iscsi-target: Return error if unable to add network portal
  target: Fix spelling mistake and unwrap multi-line text
  target/iscsi: Fix double free in lio_target_tiqn_addtpg()
  target/user: Fix use-after-free of tcmu_cmds if they are expired
  target: Minimize #include directives
  target/user: Add an #include directive
  cxgbit: Add an #include directive
  ibmvscsi_tgt: Add two #include directives
  sbp-target: Add an #include directive
  qla2xxx: Add an #include directive
  configfs: Minimize #include directives
  usb: gadget: Fix second argument of percpu_ida_alloc()
  sbp-target: Fix second argument of percpu_ida_alloc()
  target/user: Fix a data type in tcmu_queue_cmd()
  target: Use NULL instead of 0 to represent a pointer

1  2 
drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.h
drivers/scsi/qla2xxx/qla_isr.c
drivers/target/target_core_configfs.c
drivers/target/target_core_user.c
include/linux/configfs.h
include/target/target_core_base.h

Simple merge
index a35a347ec357ad48626cc4083eca16588c29eb8b,3bf6384c0f96ad8f477609d4569497bb82a9d614..54b36c9835be3ae2127cb1f447321eba73b824ac
@@@ -143,8 -143,8 +143,8 @@@ static ssize_t target_core_item_dbroot_
                pr_err("db_root: cannot open: %s\n", db_root_stage);
                return -EINVAL;
        }
 -      if (!S_ISDIR(fp->f_inode->i_mode)) {
 +      if (!S_ISDIR(file_inode(fp)->i_mode)) {
-               filp_close(fp, 0);
+               filp_close(fp, NULL);
                mutex_unlock(&g_tf_lock);
                pr_err("db_root: not a directory: %s\n", db_root_stage);
                return -EINVAL;
Simple merge
Simple merge
Simple merge