diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2021-10-22 18:03:03 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2021-10-28 10:45:32 +0300 |
commit | c15016b7ae1caf77f80ae87a71745368ef651ba6 (patch) | |
tree | ff685aea1feecd1846e292d59cb66e9559a5bedf /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 20235b435a5c8897e46d094454408b6ab7157dbd (diff) | |
download | linux-c15016b7ae1caf77f80ae87a71745368ef651ba6.tar.xz |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions