diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2021-10-22 17:03:03 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2021-10-28 09:45:32 +0200 |
commit | c15016b7ae1caf77f80ae87a71745368ef651ba6 (patch) | |
tree | ff685aea1feecd1846e292d59cb66e9559a5bedf /LICENSES | |
parent | fuse: cleanup code conditional on fc->writeback_cache (diff) | |
download | linux-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