lkml.org 
[lkml]   [2018]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 1/6] fs/dcache: Remove stale comment from dentry_kill()
    Date
    Commit 0d98439ea3c6 ("vfs: use lockred "dead" flag to mark unrecoverably
    dead dentries") removed the `ref' parameter in dentry_kill() but its
    documentation remained. Remove it.

    Signed-off-by: John Ogness <john.ogness@linutronix.de>
    ---
    fs/dcache.c | 1 -
    1 file changed, 1 deletion(-)

    diff --git a/fs/dcache.c b/fs/dcache.c
    index 7c38f39958bc..3c7e0148b453 100644
    --- a/fs/dcache.c
    +++ b/fs/dcache.c
    @@ -592,7 +592,6 @@ static void __dentry_kill(struct dentry *dentry)
    /*
    * Finish off a dentry we've decided to kill.
    * dentry->d_lock must be held, returns with it unlocked.
    - * If ref is non-zero, then decrement the refcount too.
    * Returns dentry requiring refcount drop, or NULL if we're done.
    */
    static struct dentry *dentry_kill(struct dentry *dentry)
    --
    2.11.0
    \
     
     \ /
      Last update: 2018-02-23 00:51    [W:4.210 / U:0.236 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site