diff options
| author | Christian König <[email protected]> | 2024-05-29 10:43:22 +0200 |
|---|---|---|
| committer | Christian König <[email protected]> | 2024-05-31 10:12:52 +0200 |
| commit | c9402efe492bb46ccbf94fedc4783eb8f8747567 (patch) | |
| tree | 9e13353300e31e6340b00c6a11cdae66ab57f762 /fs/jbd2/commit.c | |
| parent | c4e3267868e1debb3d87d21a36efc8a2255298e2 (diff) | |
dma-buf: add a warning when drv try to reserve 0 fence slots
When dma_resv_reserve_fences() is called with num_fences=0 it usually
means that a driver or other component messed up its calculation how
many fences are needed. Warn in that situation.
When no fence are needed the function shouldn't be called in the first
place.
Signed-off-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Matthew Auld <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions