diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-05 05:45:44 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-30 00:56:09 +0200 |
commit | 93c76a3d437ff71fabe1d190a9f00e92cec7a621 (patch) | |
tree | b3b942110bc12bc5fae743c1fe4e27eecc2c8e3d /fs/nfs/dir.c | |
parent | trim fsnotify hooks a bit (diff) | |
download | linux-93c76a3d437ff71fabe1d190a9f00e92cec7a621.tar.xz 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 '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; |