From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH-v2 3/3] target: Fix TAS handling for multi-session se_node_acls Date: Tue, 26 Jan 2016 18:22:48 +0100 Message-ID: <20160126172248.GC3663@lst.de> References: <1453513067-23169-1-git-send-email-nab@daterainc.com> <1453513067-23169-4-git-send-email-nab@daterainc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1453513067-23169-4-git-send-email-nab@daterainc.com> Sender: target-devel-owner@vger.kernel.org To: "Nicholas A. Bellinger" Cc: target-devel , linux-scsi , Quinn Tran , Himanshu Madhani , Sagi Grimberg , Christoph Hellwig , Hannes Reinecke , Andy Grover , Mike Christie , Nicholas Bellinger List-Id: linux-scsi@vger.kernel.org > - if ((tmr_nacl && (tmr_nacl != cmd->se_sess->se_node_acl)) && tas) { > + if ((tmr_sess && (tmr_sess != cmd->se_sess)) && tas) { Care to drop the pointless braces here if you touch this anyway? if (tmr_sess && tmr_sess != cmd->se_sess && tas) Otherwise this looks fine to me: Reviewed-by: Christoph Hellwig