From c0a46535c4465293c3d28bf18d84fef3b06f9741 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Wed, 21 Aug 2013 17:36:01 +0000 Subject: Make the seek a method of the struct fileops. Tested by: pho Sponsored by: The FreeBSD Foundation --- sys/fs/devfs/devfs_vnops.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/fs') diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c index 468e76bbbb84..711a7eafb7e1 100644 --- a/sys/fs/devfs/devfs_vnops.c +++ b/sys/fs/devfs/devfs_vnops.c @@ -1697,6 +1697,7 @@ static struct fileops devfs_ops_f = { .fo_chmod = vn_chmod, .fo_chown = vn_chown, .fo_sendfile = vn_sendfile, + .fo_seek = vn_seek, .fo_flags = DFLAG_PASSABLE | DFLAG_SEEKABLE }; -- cgit v1.2.3