Re: [PATCHv2] videobuf2-core: take mmap_sem before calling __qbuf_userptr

2014-08-26 Thread Jan Kara
On Fri 22-08-14 23:31:31, Hans Verkuil wrote: > (Changes since v1: fix the embarrassing bug where mmap_sem wasn't initialized) > > Commit f035eb4e976ef5a059e30bc91cfd310ff030a7d3 (videobuf2: fix lockdep > warning) > unfortunately removed the mmap_sem lock that is needed around the call to > __qbu

Re: [PATCHv2] videobuf2-core: take mmap_sem before calling __qbuf_userptr

2014-08-23 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Friday 22 August 2014 23:31:31 Hans Verkuil wrote: > (Changes since v1: fix the embarrassing bug where mmap_sem wasn't > initialized) > > Commit f035eb4e976ef5a059e30bc91cfd310ff030a7d3 (videobuf2: fix lockdep > warning) unfortunately removed the mmap_sem loc

[PATCHv2] videobuf2-core: take mmap_sem before calling __qbuf_userptr

2014-08-22 Thread Hans Verkuil
(Changes since v1: fix the embarrassing bug where mmap_sem wasn't initialized) Commit f035eb4e976ef5a059e30bc91cfd310ff030a7d3 (videobuf2: fix lockdep warning) unfortunately removed the mmap_sem lock that is needed around the call to __qbuf_userptr. Amazingly nobody noticed this (especially me as