Searched hist:e77a7b4f (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/nfsd/ |
H A D | vfs.c | e77a7b4f Mon Oct 06 18:42:52 CDT 2014 Zach Brown <zab@zabbo.net> 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>
|