lkml.org 
[lkml]   [2017]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.9 50/80] orangefs: do not set getattr_time on orangefs_lookup
    Date
    4.9-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Martin Brandenburg <martin@omnibond.com>

    commit 17930b252cd6f31163c259eaa99dd8aa630fb9ba upstream.

    Since orangefs_lookup calls orangefs_iget which calls
    orangefs_inode_getattr, getattr_time will get set.

    Signed-off-by: Martin Brandenburg <martin@omnibond.com>
    Signed-off-by: Mike Marshall <hubcap@omnibond.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    fs/orangefs/namei.c | 2 --
    1 file changed, 2 deletions(-)

    --- a/fs/orangefs/namei.c
    +++ b/fs/orangefs/namei.c
    @@ -193,8 +193,6 @@ static struct dentry *orangefs_lookup(st
    goto out;
    }

    - ORANGEFS_I(inode)->getattr_time = jiffies - 1;
    -
    gossip_debug(GOSSIP_NAME_DEBUG,
    "%s:%s:%d "
    "Found good inode [%lu] with count [%d]\n",

    \
     
     \ /
      Last update: 2017-05-18 13:16    [W:4.022 / U:0.332 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site