diff options
| author | Al Viro <[email protected]> | 2015-12-05 04:45:44 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2016-05-29 22:56:09 +0000 |
| commit | 93c76a3d437ff71fabe1d190a9f00e92cec7a621 (patch) | |
| tree | b3b942110bc12bc5fae743c1fe4e27eecc2c8e3d /drivers/gpu/drm/omapdrm/omap_gem.c | |
| parent | trim fsnotify hooks a bit (diff) | |
| download | kernel-93c76a3d437ff71fabe1d190a9f00e92cec7a621.tar.gz kernel-93c76a3d437ff71fabe1d190a9f00e92cec7a621.zip | |
file_inode(f)->i_mapping is f->f_mapping
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
| -rw-r--r-- | drivers/gpu/drm/omapdrm/omap_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_gem.c b/drivers/gpu/drm/omapdrm/omap_gem.c index b97afc281778..dfb36f3c9c35 100644 --- a/drivers/gpu/drm/omapdrm/omap_gem.c +++ b/drivers/gpu/drm/omapdrm/omap_gem.c @@ -1406,7 +1406,7 @@ struct drm_gem_object *omap_gem_new(struct drm_device *dev, if (ret) goto err_free; - mapping = file_inode(obj->filp)->i_mapping; + mapping = obj->filp->f_mapping; mapping_set_gfp_mask(mapping, GFP_USER | __GFP_DMA32); } |
