OSDN Git Service

nvmet: remove op_flags for passthru commands
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Tue, 10 Nov 2020 02:24:02 +0000 (18:24 -0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 1 Dec 2020 19:36:36 +0000 (20:36 +0100)
commit06b3bec8204b4c6433ccb2f6ec60fedb77b34cb3
treea3d2e4e6c2f9a504ab8c7a36f976df268b31c8e4
parent39dfe84451b4526a8054cc5a127337bca980dfa3
nvmet: remove op_flags for passthru commands

For passthru commands setting op_flags has no meaning. Remove the code
that sets the op flags in nvmet_passthru_map_sg().

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/passthru.c