Merge drm/drm-next into drm-misc-next
[linux.git] / drivers / dma-buf / dma-buf.c
index 9db211a2b6cb5826ba295286ae07e16efd9ed2f2..556f62e8b1960d49354f6b0d323c4298bf78cbeb 100644 (file)
@@ -59,6 +59,8 @@ static void dma_buf_release(struct dentry *dentry)
        struct dma_buf *dmabuf;
 
        dmabuf = dentry->d_fsdata;
+       if (unlikely(!dmabuf))
+               return;
 
        BUG_ON(dmabuf->vmapping_counter);
 
This page took 0.030537 seconds and 4 git commands to generate.