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 /fs/nfs/dir.c | |
parent | affda48410a5bbfd516def60bbc97f2683cd9f7b (diff) | |
download | linux-rt-93c76a3d437ff71fabe1d190a9f00e92cec7a621.tar.gz |
file_inode(f)->i_mapping is f->f_mapping
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r-- | fs/nfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 8be0a2438a93..59efb6e46a5e 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c @@ -729,7 +729,7 @@ struct page *get_cache_page(nfs_readdir_descriptor_t *desc) struct page *page; for (;;) { - page = read_cache_page(file_inode(desc->file)->i_mapping, + page = read_cache_page(desc->file->f_mapping, desc->page_index, (filler_t *)nfs_readdir_filler, desc); if (IS_ERR(page) || grab_page(page)) break; |