Skip to content
Commit 20235b43 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

fuse: cleanup code conditional on fc->writeback_cache



It's safe to call file_update_time() if writeback cache is not enabled,
since S_NOCMTIME is set in this case.  This part is purely a cleanup.

__fuse_copy_file_range() also calls fuse_write_update_attr() only in the
writeback cache case.  This is inconsistent with other callers, where it's
called unconditionally.

Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 484ce657
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment