summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2013-08-21 17:36:01 +0000
committerkib <kib@FreeBSD.org>2013-08-21 17:36:01 +0000
commit6a459eb27c6a215b645e8673b5275f94003510a4 (patch)
tree6d3150c62239e19e8c4f26b32d07e284cd50fd1d /sys/fs
parenta3e8f2c6dc03b8fa8727dd48f5055f20459d8b18 (diff)
downloadFreeBSD-src-6a459eb27c6a215b645e8673b5275f94003510a4.zip
FreeBSD-src-6a459eb27c6a215b645e8673b5275f94003510a4.tar.gz
Make the seek a method of the struct fileops.
Tested by: pho Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/devfs/devfs_vnops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c
index 468e76b..711a7ea 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
};
OpenPOWER on IntegriCloud