aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/cuse.c
diff options
context:
space:
mode:
authorGal Pressman <galpress@amazon.com>2019-04-30 11:46:39 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-05-02 17:07:02 -0300
commitf89adedaf3feb2e1a896b2f2387cdcb4e2b9c48b (patch)
tree72ec3e104f5d6fc21eca9bff9771e00a1a8c1a7a /fs/fuse/cuse.c
parentRDMA/umem: Handle page combining avoidance correctly in ib_umem_add_sg_table() (diff)
downloadlinux-dev-f89adedaf3feb2e1a896b2f2387cdcb4e2b9c48b.tar.xz
linux-dev-f89adedaf3feb2e1a896b2f2387cdcb4e2b9c48b.zip
RDMA/uverbs: Initialize udata struct on destroy flows
Cited commit introduced the udata parameter to different destroy flows but the uapi method definition does not have udata (i.e has_udata flag is not set). As a result, an uninitialized udata struct is being passed down to the driver callbacks. Fix that by clearing the driver udata even in cases where has_udata flag is not set. Fixes: c4367a26357b ("IB: Pass uverbs_attr_bundle down ib_x destroy path") Cc: Shamir Rabinovitch <shamir.rabinovitch@oracle.com> Co-developed-by: Jason Gunthorpe <jgg@ziepe.ca> Signed-off-by: Jason Gunthorpe <jgg@ziepe.ca> Signed-off-by: Gal Pressman <galpress@amazon.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'fs/fuse/cuse.c')
0 files changed, 0 insertions, 0 deletions