diff options
author | pfg <pfg@FreeBSD.org> | 2015-05-28 21:06:59 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2015-05-28 21:06:59 +0000 |
commit | dce46f40950ace53058f9271895013fe4fb7fd13 (patch) | |
tree | 8efae694eefcd328c3cbde007621b41a5fd33cff /sys/fs | |
parent | 0de1f8c7b54ba528685a87f26767f96440dcc65d (diff) | |
download | FreeBSD-src-dce46f40950ace53058f9271895013fe4fb7fd13.zip FreeBSD-src-dce46f40950ace53058f9271895013fe4fb7fd13.tar.gz |
Provide VOP_GETPAGES_ASYNC() for extfs.
Merge the filesystem specific part from r274914 to ext2fs.
I only did regular testing with the change but UFS and our ext2fs
are similar enough that the code should just work with the new
sendfile.
Discussed with: glebius
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/ext2fs/ext2_vnops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/ext2fs/ext2_vnops.c b/sys/fs/ext2fs/ext2_vnops.c index dd30aea..5b8990ee 100644 --- a/sys/fs/ext2fs/ext2_vnops.c +++ b/sys/fs/ext2fs/ext2_vnops.c @@ -128,6 +128,7 @@ struct vop_vector ext2_vnodeops = { .vop_create = ext2_create, .vop_fsync = ext2_fsync, .vop_getpages = vnode_pager_local_getpages, + .vop_getpages_async = vnode_pager_local_getpages_async, .vop_getattr = ext2_getattr, .vop_inactive = ext2_inactive, .vop_ioctl = ext2_ioctl, |