diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2013-08-21 17:36:01 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2013-08-21 17:36:01 +0000 |
commit | c0a46535c4465293c3d28bf18d84fef3b06f9741 (patch) | |
tree | 6d3150c62239e19e8c4f26b32d07e284cd50fd1d /sys/fs | |
parent | 41cf41fdfd3b904e65a892bd09fec0e207493c87 (diff) | |
download | src-c0a46535c4465293c3d28bf18d84fef3b06f9741.tar.gz src-c0a46535c4465293c3d28bf18d84fef3b06f9741.zip |
Make the seek a method of the struct fileops.
Tested by: pho
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=254602
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/devfs/devfs_vnops.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 }; |