From: Linus Torvalds Date: Fri, 8 Jul 2022 23:08:48 +0000 (-0700) Subject: Merge tag 'fscache-fixes-20220708' of git://git.kernel.org/pub/scm/linux/kernel/git... X-Git-Tag: v6.6.17~7118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5524c2a1fc4002a52e16236659e779767617a4f;p=platform%2Fkernel%2Flinux-rpi.git Merge tag 'fscache-fixes-20220708' of git://git./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() --- e5524c2a1fc4002a52e16236659e779767617a4f