Btrfs: fix wrong write range for filemap_fdatawrite_range()
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Thu, 17 Jul 2014 03:44:13 +0000 (11:44 +0800)
committerChris Mason <clm@fb.com>
Tue, 19 Aug 2014 15:52:12 +0000 (08:52 -0700)
commit9a025a0860ccc0f02af153c966bc1f83e5d9fc62
tree6e70f8a6f07dbdb11552db5596671bb2e66ab5d3
parent3a7d55c84c76a3088ddfb798c187182143683a16
Btrfs: fix wrong write range for filemap_fdatawrite_range()

filemap_fdatawrite_range() expect the third arg to be @end
not @len, fix it.

Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/inode.c