aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorRoland Dreier <[email protected]>2018-07-20 03:07:59 +0000
committerChristoph Hellwig <[email protected]>2018-07-20 14:43:59 +0000
commit9b382768135ee3ff282f828c906574a8478e036b (patch)
treeed4b899b3a3c4b3b8d01aff47f28ad4c5c74393f /fs/btrfs/dev-replace.c
parentnvme: don't enable AEN if not supported (diff)
downloadkernel-9b382768135ee3ff282f828c906574a8478e036b.tar.gz
kernel-9b382768135ee3ff282f828c906574a8478e036b.zip
nvme: fix handling of metadata_len for NVME_IOCTL_IO_CMD
The old code in nvme_user_cmd() passed the userspace virtual address from nvme_passthru_cmd.metadata as the length of the metadata buffer as well as the address to nvme_submit_user_cmd(). Fixes: 63263d60 ("nvme: Use metadata for passthrough commands") Signed-off-by: Roland Dreier <[email protected]> Reviewed-by: Keith Busch <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions