From: Zach Brown Date: Mon, 6 Oct 2014 23:40:13 +0000 (-0700) Subject: target/file: fix inclusive vfs_fsync_range() end X-Git-Tag: fixes-against-v3.18-rc2~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62d3ab49b8a5438d11a11605ea1a6d2fe0118f32;p=pandora-kernel.git target/file: fix inclusive vfs_fsync_range() end Both of the file target's calls to vfs_fsync_range() got the end offset off by one. The range is inclusive, not exclusive. It would sync a bit more data than was required. The sync path already tested the length of the range and fell back to LLONG_MAX so I copied that pattern in the rw path. This is untested. I found the errors by inspection while following other code. Signed-off-by: Zach Brown Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed