fuse: fix attr version comparison in fuse_read_update_size()
commit 484ce657 upstream. A READ request returning a short count is taken as indication of EOF, and the cached file size is modified accordingly. Fix the attribute version checking to allow for changes to fc->attr_version on other inodes. Signed-off-by:Miklos Szeredi <mszeredi@redhat.com> Signed-off-by:
Yang Bo <yb203166@antfin.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment