dmabuf: Ensure _get_fd() works even for shared memory
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 10 Jul 2014 22:17:47 +0000 (18:17 -0400)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 11 Jul 2014 07:47:04 +0000 (09:47 +0200)
commitf260baf23b119953273ee1c0eebfbc633db60fa5
tree8fb130539196d42438f7bcd4b1092fd6c67d682a
parenta84f10196cda488847333ec5afad010c9ec6b948
dmabuf: Ensure _get_fd() works even for shared memory

Fixes regression introduced by:

commit b60888fd4bcacd42bb4e27fa938272d6e72c5c32
Author: Michael Olbrich <m.olbrich@pengutronix.de>
Date:   Tue May 20 11:18:56 2014 +0200

    dmabuf: share the mapping with shared copies of the memory

https://bugzilla.gnome.org/show_bug.cgi?id=730441
gst-libs/gst/allocators/gstdmabuf.c