UPSTREAM: dma-buf: clarify locking documentation for reservation_object_get_excl

The documentation was misleading, as for a lot of use-cases holding
the RCU read side lock is sufficient.

Change-Id: I1694f696afcea9663b5c8e58368b1feb3c96e6c3
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180111165302.25556-2-l.stach@pengutronix.de
This commit is contained in:
Lucas Stach authored and Thomas Turner committed 2026-05-31 11:15:34 +01:00
1 parent 00add46d35
commit c53a29cecd
1 file changed
+2 -1
+2 -1
View File
@@ -179,7 +179,8 @@ reservation_object_unlock(struct reservation_object *obj)
* @obj: the reservation object
*
* Returns the exclusive fence (if any). Does NOT take a
* reference. The obj->lock must be held.
* reference. Writers must hold obj->lock, readers may only
* hold a RCU read side lock.
*
* RETURNS
* The exclusive fence or NULL