Searched hist:c15016b7ae1caf77f80ae87a71745368ef651ba6 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/fuse/ |
H A D | inode.c | diff c15016b7ae1caf77f80ae87a71745368ef651ba6 Fri Oct 22 10:03:03 CDT 2021 Miklos Szeredi <mszeredi@redhat.com> 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>
|
H A D | dir.c | diff c15016b7ae1caf77f80ae87a71745368ef651ba6 Fri Oct 22 10:03:03 CDT 2021 Miklos Szeredi <mszeredi@redhat.com> 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>
|