diff options
author | 2016-04-05 12:06:15 -0400 | |
---|---|---|
committer | 2016-04-05 12:06:15 -0400 | |
commit | 611526756a3d0fa7f4d1c519397ba8898f40443f (patch) | |
tree | 170614d6a447935a0230d228415ea5a5c7c4b7c6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | GFS2: Get rid of dead code in inode_go_demote_ok (diff) | |
download | wireguard-linux-611526756a3d0fa7f4d1c519397ba8898f40443f.tar.xz wireguard-linux-611526756a3d0fa7f4d1c519397ba8898f40443f.zip |
gfs2: Use gfs2 wrapper to sync inode before calling generic_file_splice_read()
gfs2_file_splice_read() f_op grabs and releases the cluster-wide
inode glock to sync the inode size to the latest.
Without this, generic_file_splice_read() uses an older i_size value
and can return EOF for valid offsets in the inode.
Signed-off-by: Abhi Das <adas@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions