diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-07-08 16:08:48 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-07-08 16:08:48 -0700 |
commit | e5524c2a1fc4002a52e16236659e779767617a4f (patch) | |
tree | 002661a44b87da08d8a9ac4f92db5aff9fac0865 /drivers/i2c | |
parent | 525496a030de4ae64bb9e1d6bfc88eec6f5fe6e2 (diff) | |
parent | 85e4ea1049c70fb99de5c6057e835d151fb647da (diff) | |
download | linux-e5524c2a1fc4002a52e16236659e779767617a4f.tar.bz2 |
Merge tag 'fscache-fixes-20220708' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
Pull fscache fixes from David Howells:
- Fix a check in fscache_wait_on_volume_collision() in which the
polarity is reversed. It should complain if a volume is still marked
acquisition-pending after 20s, but instead complains if the mark has
been cleared (ie. the condition has cleared).
Also switch an open-coded test of the ACQUIRE_PENDING volume flag to
use the helper function for consistency.
- Not a fix per se, but neaten the code by using a helper to check for
the DROPPED state.
- Fix cachefiles's support for erofs to only flush requests associated
with a released control file, not all requests.
- Fix a race between one process invalidating an object in the cache
and another process trying to look it up.
* tag 'fscache-fixes-20220708' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
fscache: Fix invalidation/lookup race
cachefiles: narrow the scope of flushed requests when releasing fd
fscache: Introduce fscache_cookie_is_dropped()
fscache: Fix if condition in fscache_wait_on_volume_collision()
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions