cachefiles: Check that the backing filesystem supports tmpfiles
authorDavid Howells <dhowells@redhat.com>
Fri, 7 Jan 2022 10:57:45 +0000 (10:57 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 21 Jan 2022 21:36:28 +0000 (21:36 +0000)
commit6633213139d827fb9abf9a9a280f3d9e89fc7091
tree73b603360942f71883ec614b48325161f0348b50
parent14b9d0902dfa25dac9c41bf346aa655fdeafe5b2
cachefiles: Check that the backing filesystem supports tmpfiles

Add a check that the backing filesystem supports the creation of
tmpfiles[1].

Suggested-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
Link: https://lore.kernel.org/r/568749bd7cc02908ecf6f3d6a611b6f9cf5c4afd.camel@kernel.org/
Link: https://lore.kernel.org/r/164251406558.3435901.1249023136670058162.stgit@warthog.procyon.org.uk/
fs/cachefiles/cache.c