OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32e1500
)
cachefiles: Allow cachefiles to actually function
author
David Howells
<dhowells@redhat.com>
Fri, 26 Nov 2021 21:04:23 +0000
(21:04 +0000)
committer
David Howells
<dhowells@redhat.com>
Fri, 7 Jan 2022 13:43:07 +0000
(13:43 +0000)
Remove the block that allowed cachefiles to be compiled but prevented it
from actually starting a cache.
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/163819649497.215744.2872504990762846767.stgit@warthog.procyon.org.uk/
Link:
https://lore.kernel.org/r/163906956491.143852.4951522864793559189.stgit@warthog.procyon.org.uk/
Link:
https://lore.kernel.org/r/163967165374.1823006.14248189932202373809.stgit@warthog.procyon.org.uk/
Link:
https://lore.kernel.org/r/164021564379.640689.7921380491176827442.stgit@warthog.procyon.org.uk/
fs/cachefiles/daemon.c
patch
|
blob
|
history
diff --git
a/fs/cachefiles/daemon.c
b/fs/cachefiles/daemon.c
index
61e8740
..
45af558
100644
(file)
--- a/
fs/cachefiles/daemon.c
+++ b/
fs/cachefiles/daemon.c
@@
-703,9
+703,7
@@
static int cachefiles_daemon_bind(struct cachefiles_cache *cache, char *args)
return -EBUSY;
}
- pr_warn("Cache is disabled for development\n");
- return -ENOANO; // Don't allow the cache to operate yet
- //return cachefiles_add_cache(cache);
+ return cachefiles_add_cache(cache);
}
/*