diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-04 23:45:44 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-29 18:56:09 -0400 |
commit | 93c76a3d437ff71fabe1d190a9f00e92cec7a621 (patch) | |
tree | b3b942110bc12bc5fae743c1fe4e27eecc2c8e3d /drivers/gpu/drm/drm_gem.c | |
parent | affda48410a5bbfd516def60bbc97f2683cd9f7b (diff) | |
download | blackbird-obmc-linux-93c76a3d437ff71fabe1d190a9f00e92cec7a621.tar.gz blackbird-obmc-linux-93c76a3d437ff71fabe1d190a9f00e92cec7a621.zip |
file_inode(f)->i_mapping is f->f_mapping
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/drm_gem.c')
-rw-r--r-- | drivers/gpu/drm/drm_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c index 32156060b9c9..ad89db36ca25 100644 --- a/drivers/gpu/drm/drm_gem.c +++ b/drivers/gpu/drm/drm_gem.c @@ -511,7 +511,7 @@ struct page **drm_gem_get_pages(struct drm_gem_object *obj) int i, npages; /* This is the shared memory object that backs the GEM resource */ - mapping = file_inode(obj->filp)->i_mapping; + mapping = obj->filp->f_mapping; /* We already BUG_ON() for non-page-aligned sizes in * drm_gem_object_init(), so we should never hit this unless |