lkml.org 
[lkml]   [2021]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH v3 53/68] cachefiles: Allow cachefiles to actually function
    From
    Date
    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>
    cc: linux-cachefs@redhat.com
    Link: https://lore.kernel.org/r/163819649497.215744.2872504990762846767.stgit@warthog.procyon.org.uk/ # v1
    Link: https://lore.kernel.org/r/163906956491.143852.4951522864793559189.stgit@warthog.procyon.org.uk/ # v2
    ---

    fs/cachefiles/daemon.c | 4 +---
    1 file changed, 1 insertion(+), 3 deletions(-)

    diff --git a/fs/cachefiles/daemon.c b/fs/cachefiles/daemon.c
    index 61e8740d01be..45af558a696e 100644
    --- 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);
    }

    /*

    \
     
     \ /
      Last update: 2021-12-16 17:23    [W:4.046 / U:0.220 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site