Commit 1cc86ae
btrfs: add struct io_btrfs_cmd as type for io_uring_cmd_to_pdu()
Add struct io_btrfs_cmd as a wrapper type for io_uring_cmd_to_pdu(),
rather than using a raw pointer.
Suggested-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Mark Harmstone <maharmstone@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent 34310c4 commit 1cc86ae
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4740 | 4740 | | |
4741 | 4741 | | |
4742 | 4742 | | |
| 4743 | + | |
| 4744 | + | |
| 4745 | + | |
| 4746 | + | |
4743 | 4747 | | |
4744 | 4748 | | |
4745 | | - | |
| 4749 | + | |
| 4750 | + | |
4746 | 4751 | | |
4747 | 4752 | | |
4748 | 4753 | | |
| |||
4796 | 4801 | | |
4797 | 4802 | | |
4798 | 4803 | | |
| 4804 | + | |
4799 | 4805 | | |
4800 | 4806 | | |
| 4807 | + | |
4801 | 4808 | | |
4802 | | - | |
4803 | 4809 | | |
4804 | 4810 | | |
4805 | 4811 | | |
| |||
0 commit comments