summaryrefslogtreecommitdiff
path: root/include/linux/sync_file.h
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.com>2017-07-31 16:36:55 -0300
committerGustavo Padovan <gustavo.padovan@collabora.com>2017-08-18 14:07:26 -0300
commit300238cecede382fbd9084499e57f3b30acc75fa (patch)
treeac66e204dd239191eea44c505cb3de7c1f075d08 /include/linux/sync_file.h
parent043652aa3d87e2ea314327b57fde14ae60dd1d1e (diff)
dma-buf/sync_file: document flags field
Documentation for it was missing. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com> Acked-by: Sumit Semwal <sumit.semwal@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20170731193655.6176-1-gustavo@padovan.org
Diffstat (limited to 'include/linux/sync_file.h')
-rw-r--r--include/linux/sync_file.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sync_file.h b/include/linux/sync_file.h
index 0ad87c434ae6..790ca021203a 100644
--- a/include/linux/sync_file.h
+++ b/include/linux/sync_file.h
@@ -25,8 +25,12 @@
* @file: file representing this fence
* @sync_file_list: membership in global file list
* @wq: wait queue for fence signaling
+ * @flags: flags for the sync_file
* @fence: fence with the fences in the sync_file
* @cb: fence callback information
+ *
+ * flags:
+ * POLL_ENABLED: whether userspace is currently poll()'ing or not
*/
struct sync_file {
struct file *file;