mirror of
https://github.com/hardkernel/linux.git
synced 2026-05-09 05:35:47 +09:00
The ioctl framework already does this correctly, but the write path did not. This is trivially fixed by simply using a standard pattern to return uobj_alloc_commit() as the last statement in every function. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>