]> granicus.if.org Git - zfs/commit
Fix lseek result when dnode is dirty
authordbavatar <dbavatar@gmail.com>
Mon, 24 Apr 2017 16:38:31 +0000 (12:38 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 24 Apr 2017 16:38:31 +0000 (09:38 -0700)
commit6e03ec4fa26110dcdf817401a375399f3432ae21
tree3ea0a332f64ae7509fd8c14710551ef0b3055a07
parentb717b11cb0267a024ece6dc424b6575c685196fc
Fix lseek result when dnode is dirty

Fixup commit 66aca24.  We should have equivalent return
values as generic_file_llseek() and advance to end of file.

Reviewed-by: Richard Yao <ryao@gentoo.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Tested-by: bunder2015 <omfgbunder@gmail.com>
Signed-off-by: Debabrata Banerjee <dbanerje@akamai.com>
Closes #6050
Closes #6053
module/zfs/zfs_vnops.c