History

nbd: stop using req->cmd

Christoph Hellwig committed 11 years ago

Commit 9dc6c801 parent a7928c12 files · +23 −27Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/nbd.h+0−2
@@ -44,8 +44,6 @@ enum { · 43 unmodified lines
44/* there is a gap here to match userspace */44/* there is a gap here to match userspace */
45#define NBD_FLAG_SEND_TRIM (1 << 5) /* send trim/discard */45#define NBD_FLAG_SEND_TRIM (1 << 5) /* send trim/discard */
46 46
47#define nbd_cmd(req) ((req)->cmd[0])
48
49/* userspace doesn't need the nbd_device structure */47/* userspace doesn't need the nbd_device structure */
50 48
51/* These are sent over the network in the request/reply magic fields */49/* These are sent over the network in the request/reply magic fields */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t