lkml.org 
[lkml]   [2006]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 08/12] fuse: minor cleanup in fuse_dentry_revalidate
    Remove unneeded code from fuse_dentry_revalidate().  This made some
    sense while the validity time could wrap around, but now it's a very
    obvious no-op.

    Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>

    ---
    Index: linux/fs/fuse/dir.c
    ===================================================================
    --- linux.orig/fs/fuse/dir.c 2006-10-16 16:21:20.000000000 +0200
    +++ linux/fs/fuse/dir.c 2006-10-16 16:21:29.000000000 +0200
    @@ -140,9 +140,6 @@ static int fuse_dentry_revalidate(struct
    struct fuse_req *req;
    struct dentry *parent;

    - /* Doesn't hurt to "reset" the validity timeout */
    - fuse_invalidate_entry_cache(entry);
    -
    /* For negative dentries, always do a fresh lookup */
    if (!inode)
    return 0;
    --
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-10-16 18:33    [W:0.018 / U:2.844 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site