Re: [PATCH 1/2] target: Make target_put_sess_cmd use target_release_cmd_kref

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 12, 2011 at 2:14 AM, Nicholas A. Bellinger
<nab@xxxxxxxxxxxxxxx> wrote:
> +       kref_init(&se_cmd->cmd_kref);
> +       kref_get(&se_cmd->cmd_kref);

If commands are born with two references, that's magic
enough that I think it at least needs a comment explaining
what the two references are and where they'll be dropped.

 - R.
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux