Tag: ce40fa78ef8f0e813392903c96de65b947298d16

Cachefiles: Fix up scripted S_ISDIR/S_ISREG/S_ISLNK conversions

Author: David Howells <dhowells@redhat.com> Fix up the following scripted S_ISDIR/S_ISREG/S_ISLNK conversions (or lack thereof) in cachefiles: (1) Cachefiles mostly wants to use d_can_lookup() rather than d_is_dir() as it doesn’t want to deal with automounts in its cache. (2) Coccinelle didn’t find S_IS* expressions in ASSERT() statements in cachefiles. Signed-off-by: David Howells Signed-off-by: Al Viro — …

Continue reading