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

fuse: simplify local variables holding writeback cache state



There are two instances of "bool is_wb = fc->writeback_cache" where the
actual use mostly involves checking "is_wb && S_ISREG(inode->i_mode)".

Clean up these cases by storing the second condition in the local variable.

Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 20235b43
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