OSDN Git Service

target: simplify XCOPY wwn->se_dev lookup helper
authorDavid Disseldorp <ddiss@suse.de>
Mon, 2 Jan 2017 17:04:05 +0000 (18:04 +0100)
committerBart Van Assche <bart.vanassche@sandisk.com>
Tue, 10 Jan 2017 16:41:12 +0000 (08:41 -0800)
commit94aae4caacda89a1bdb7198b260f4ca3595b7ed7
tree4717092498edd8368b38df97068b92bfb7c4c6dd
parentc243849720ac237e9e7191fe57f619bb3a871d4c
target: simplify XCOPY wwn->se_dev lookup helper

target_xcopy_locate_se_dev_e4() is used to locate an se_dev, based on
the WWN provided with the XCOPY request. Remove a couple of unneeded
arguments, and rely on the caller for the src/dst test.

Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
drivers/target/target_core_xcopy.c