]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/vdev_file.c
Use SEEK_{SET,CUR,END} for file seek "whence"
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 25 Apr 2019 17:17:28 +0000 (02:17 +0900)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 25 Apr 2019 17:17:27 +0000 (10:17 -0700)
commit126d0fa7333c0d6d6159900d2858c82fa964b4f9
tree8407df8d58c14767a406157defa137f8029ddb77
parentf4c594da94d856c422512a54e48070f890b2685b
Use SEEK_{SET,CUR,END} for file seek "whence"

Use either SEEK_* or 0,1,2..., but not both.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes #8656
module/spl/spl-vnode.c
module/zfs/vdev_file.c
module/zfs/zfs_replay.c
module/zfs/zfs_vnops.c
module/zfs/zpl_file.c
module/zfs/zpl_inode.c