summaryrefslogtreecommitdiffstats
path: root/lib/crc8.c
diff options
context:
space:
mode:
authorZach Brown <zab@zabbo.net>2014-10-06 16:42:52 -0700
committerJ. Bruce Fields <bfields@redhat.com>2014-10-23 14:05:10 -0400
commite77a7b4f01b4c7b02c1c15b5d5b4ce4bd147b043 (patch)
treed246e8545d1b8fafb87a5a2d93640d39b3b5c2ff /lib/crc8.c
parent51904b08072a8bf2b9ed74d1bd7a5300a614471d (diff)
downloadlinux-e77a7b4f01b4c7b02c1c15b5d5b4ce4bd147b043.tar.gz
linux-e77a7b4f01b4c7b02c1c15b5d5b4ce4bd147b043.tar.bz2
linux-e77a7b4f01b4c7b02c1c15b5d5b4ce4bd147b043.zip
nfsd: fix inclusive vfs_fsync_range() end
The vfs_fsync_range() call during write processing got the end of the range off by one. The range is inclusive, not exclusive. The error has nfsd sync more data than requested -- it's correct but unnecessary overhead. The call during commit processing is correct so I copied that pattern in write processing. Maybe a helper would be nice but I kept it trivial. This is untested. I found it while reviewing code for something else entirely. Signed-off-by: Zach Brown <zab@zabbo.net> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'lib/crc8.c')
0 files changed, 0 insertions, 0 deletions