commit | 611526756a3d0fa7f4d1c519397ba8898f40443f | [log] [tgz] |
---|---|---|
author | Abhi Das <adas@redhat.com> | Tue Apr 05 12:06:15 2016 -0400 |
committer | Bob Peterson <rpeterso@redhat.com> | Tue Apr 05 12:06:15 2016 -0400 |
tree | 170614d6a447935a0230d228415ea5a5c7c4b7c6 | |
parent | 73cc86252bd8a547349d2856497eceaf4f2d1766 [diff] |
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>