mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
nbd: stop using req->cmd
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
a7928c1578
commit
9dc6c806b3
2 changed files with 23 additions and 27 deletions
|
@ -44,8 +44,6 @@ enum {
|
|||
/* there is a gap here to match userspace */
|
||||
#define NBD_FLAG_SEND_TRIM (1 << 5) /* send trim/discard */
|
||||
|
||||
#define nbd_cmd(req) ((req)->cmd[0])
|
||||
|
||||
/* userspace doesn't need the nbd_device structure */
|
||||
|
||||
/* These are sent over the network in the request/reply magic fields */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue