Home
last modified time | relevance | path

Searched hist:c15016b7 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/fuse/
H A Ddir.cc15016b7 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 Dinode.cc15016b7 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>