File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ int cachefiles_add_cache(struct cachefiles_cache *cache)
51
51
52
52
/* Check features of the backing filesystem:
53
53
* - Directories must support looking up and directory creation
54
+ * - We create tmpfiles to handle invalidation
54
55
* - We use xattrs to store metadata
55
56
* - We need to be able to query the amount of space available
56
57
* - We want to be able to sync the filesystem when stopping the cache
@@ -60,6 +61,7 @@ int cachefiles_add_cache(struct cachefiles_cache *cache)
60
61
if (d_is_negative (root ) ||
61
62
!d_backing_inode (root )-> i_op -> lookup ||
62
63
!d_backing_inode (root )-> i_op -> mkdir ||
64
+ !d_backing_inode (root )-> i_op -> tmpfile ||
63
65
!(d_backing_inode (root )-> i_opflags & IOP_XATTR ) ||
64
66
!root -> d_sb -> s_op -> statfs ||
65
67
!root -> d_sb -> s_op -> sync_fs ||
You can’t perform that action at this time.
0 commit comments