aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSES
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2021-10-22 17:03:03 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2021-10-28 09:45:32 +0200
commitc15016b7ae1caf77f80ae87a71745368ef651ba6 (patch)
treeff685aea1feecd1846e292d59cb66e9559a5bedf /LICENSES
parentfuse: cleanup code conditional on fc->writeback_cache (diff)
downloadlinux-dev-c15016b7ae1caf77f80ae87a71745368ef651ba6.tar.xz
linux-dev-c15016b7ae1caf77f80ae87a71745368ef651ba6.zip
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: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions