aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2016-04-03 19:15:00 +0000
committerMauro Carvalho Chehab <[email protected]>2016-04-13 19:19:05 +0000
commite7e0c3e26587749b62d17b9dd0532874186c77f7 (patch)
tree8af5ee3d02a1bfcd5f14d1d245636ffee6c716f2 /fs/btrfs/dev-replace.c
parent[media] Revert "[media] media: au0828 change to use Managed Media Controller ... (diff)
downloadkernel-e7e0c3e26587749b62d17b9dd0532874186c77f7.tar.gz
kernel-e7e0c3e26587749b62d17b9dd0532874186c77f7.zip
[media] videobuf2-core: Check user space planes array in dqbuf
The number of planes in videobuf2 is specific to a buffer. In order to verify that the planes array provided by the user is long enough, a new vb2_buf_op is required. Call __verify_planes_array() when the dequeued buffer is known. Return an error to the caller if there was one, otherwise remove the buffer from the done list. Signed-off-by: Sakari Ailus <[email protected]> Acked-by: Hans Verkuil <[email protected]> Cc: [email protected] # for v4.4 and later Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions